-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Low
-
None
-
Affects Version/s: 3.2
-
Component/s: None
Had an issue where Contegix customer could not see the tree list of his pages in XML export.
The space might not have been set in the code:
In ExportSpaceAction.java
public boolean spaceHasPages()
{
return pageManager.getPages(space, false).size() > 0;
}
The in some instances the 'space' class variable might of not been initalised properly by other 'included' templates.
To ensure the correct space is always used: The code should look something like this (I think):
public boolean spaceHasPages()
{
return pageManager.getPages(getSpace(), false).size() > 0;
}
Hope this helps.
Regards
Vincent Choy.
- mentioned in
-
Wiki Page Loading...