-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: Postponed
-
Component/s: Publishing
Hi,
In the package "nuxeo-platform-publisher-web", the protected method "filterEmptyTrees" returns all available sectionRoot even if they have no children. The filter conditions on the Treetype is not useful.
Could you review this method from the line 177 as:
protected List <String> filterEmptyTrees (Collection <String> trees)
PublicationTreeNotAvailable throws, ClientException {
List <String> filteredTrees = new ArrayList <> ();
for (String tree: trees) {
try {
PublicationTree ptree publisherService.getPublicationTree = (
tree, DocumentManager, null,
navigationContext.getCurrentDocument ());
if (ptree! = null) {
if (pTree.getChildrenNodes (). size ()> 0)
}
} Catch (PublicationTreeNotAvailable e)
}
filteredTrees return;
}
Thanks
Pierre
Reporter: Pierre JENICOT
E-mail: p.jenicot@gmail.com
- depends on
-
NXP-16766 Users can see domain they don't have access to in the Publish tab
- Resolved