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.

Data Model Questions /

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

_Live tables not updating if field is set to empty


Go to End


1663 Views

Avatar
deLisle

Community Member, 12 Posts

25 September 2009 at 12:34am

Hi.

If a field has data in it and you delete that data in it and hit save and publish it updates the "normal" table, lets say Page but the Page_Live table is not updated.

Which means that if i do a DataObject::get_one( 'Page' ); it will get the data from Page_Live which still has the old data in it which is very wrong.

Help!!