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

Commit 8edd713d authored by Sergey Shepelevich's avatar Sergey Shepelevich

REPO-1836 Fix Node#getDisplayName for virtual node

parent c59f8673
......@@ -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