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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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



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?