Skip to content
Snippets Groups Projects
Commit dd5537c2 authored by srosse's avatar srosse
Browse files

OO-2381: add some log informations in case the section is missing

parent 6005da2d
No related branches found
No related tags found
No related merge requests found
......@@ -210,6 +210,10 @@ public class PublishController extends BasicController implements TooledControll
if(canEditPageAccessRights || canViewPageAccessRights) {
Section section = page.getSection();
PortfolioElementRow sectionRow = sectionMap.get(section.getKey());
if(sectionRow == null) {
logError("Section not found: " + section.getKey() + " of page: " + page.getKey(), null);
continue;
}
PortfolioElementRow pageRow = new PortfolioElementRow(page, null);
sectionRow.getChildren().add(pageRow);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment