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

Some fields lose their content in revisions


Reply


537 Views

Avatar
quamsta

Community Member, 29 Posts

28 March 2009 at 4:47am

Edited: 28/03/2009 4:48am

I have a page type that extends from Page. I'll call it SomePageType. SomePageType has a few custom fields that hold HTML text. My Page object also contains some custom fields. When I save and publish the page, all custom fields from Page and SomePageType are viewable in the template. Everything works fine.

However, when I attempt to revert changes in the CMS, only the data in the fields from SiteTree and Page appears. The custom fields in SomePageType do not save or load in the revision history. Is this a glitch, or am I doing something wrong?