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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Can't Publish Empty Value for Text/Varchar Field


Go to End


2 Posts   2213 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