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

behaviour->ParentID infinite loop


Reply

556 Views

Avatar
martimiz

14 September 2009 at 11:14pm Forum Moderator, 1091 Posts

Hi everyone,
A client used the behaviour->Parent Page dropdown in the CMS to make a page refer to itself as a parent, thus creating an infinite loop during save where php used up all memory and crashed the connection (6 times befor they called for help, since the browser remembered the last interrupted task on reloading the CMS). All this happened in version 2.3.2. Is there any way to make this dropdown exclude the current page - which it should?

(I searched but couldn't find this issue being raised before - sorry if I missed it)