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.

All other Modules /

Discuss all other Modules here.

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

Subsite Module SS3 "All Pages, Including Deleted" Broken


Go to End


653 Views

Avatar
tazzydemon

Community Member, 135 Posts

24 October 2012 at 4:26pm

Edited: 24/10/2012 4:57pm

I have been trying to track this one for days but if the subsite module is installed and one selects a subsite and tries to use the button

View "All Pages, Including Deleted"

then no pages are returned. I'm pretty sure its somewhere around getChildrenAsUL() in Heirarchy.php and getSiteTreeFor() in LeftAndMain.php. It might also be an incompatibilty due to incorrect or no extension of Versioned::get_including_deleted()

The augmentsql portion of Version has a complex codeset for the latest_versions case. If I alter get_including_deleted() to "all_versions" then data is returned to the sitetree list - I think Im getting close.

If I see any more print_r() I will go nuts!

Can anyone shed any light on this?