-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 2.0
-
Component/s: None
This predominantly affects the unit tests, but if a Space did not have a home page and the orphaned pages query was performed, no results would be returned, because the "page.space.homePage != page" WHERE clause does not resolve to true when the home page is null.
This needs to be changed so it checks if the home page is null, or the home page is not the current page.