is currently readonly. We are migrating to, please continue working there on Monday 14/12. See:

Commit deaab5fa authored by Sergey Shepelevich's avatar Sergey Shepelevich

REPO-1865 [Backport 11.2] ItemNotFoundException when invoking...

REPO-1865 [Backport 11.2] ItemNotFoundException when invoking HippoNode.getDisplayName() for the root node

(cherry picked from commit 8edd713d)
parent b0e244d0
......@@ -282,6 +282,12 @@ public class NodeDecorator extends org.hippoecm.repository.decorating.NodeDecora
public String getDisplayName() throws RepositoryException {
Node node = this;
if (isVirtual()) {
node = getCanonicalNode();
if (node == null) {
return getName();
if (!node.isNodeType(HippoNodeType.NT_NAMED)) {
if (node.equals(node.getSession().getRootNode())) {
return getName();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment