Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Can't Publish Empty Value for Text/Varchar Field


Reply


2 Posts   1387 Views

Avatar
Ben Gribaudo

Community Member, 181 Posts

3 July 2009 at 4:54am

Given a Page class that is modified to have a Text or Varchar field, set that field to some value in the CMS admin interface and "Save & Publish". Then, set that field's value to blank/empty and "Save and Publish".

In the database, the Page table will show that the custom field's value is NULL. However, Page_live will show the previous value of the custom field, not NULL.

Any ideas?

Running against trunk (revision 80878).

Avatar
Ben Gribaudo

Community Member, 181 Posts

3 July 2009 at 5:54am

Filed a ticket for this issue:
http://open.silverstripe.org/ticket/4325