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

behaviour->ParentID infinite loop


Go to End


941 Views

Avatar
martimiz

Forum Moderator, 1391 Posts

14 September 2009 at 11:14pm

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)