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.

All other Modules /

Discuss all other Modules here.

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

Subsite Module SS3 "All Pages, Including Deleted" Broken


Reply


305 Views

Avatar
tazzydemon

Community Member, 124 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?