-
Bug
-
Resolution: Fixed
-
Critical
-
4.5.4
-
None
-
None
In case an absolute path is used in the extends field and if this node doesn't exist then a runtime exception is thrown. This exception makes the reload() method of the dialog or template manager fail and no item gets registered.
To fix the issue we have to rewrite ExtendingContentWrapper.isExists(..) as follows:
private boolean isExists(String extendedNode, Content parent) throws RepositoryException { if (extendedNode.startsWith("/")){ return getWrappedContent().getHierarchyManager().isExist(extendedNode); } else{ return parent.hasContent(extendedNode); } }
Acceptance criteria
- is causing
-
MGNLMIGRATION-44 Running the migration script on a project breaks basic Magnolia configurations (dialogs/trees/...)
- Closed
- mentioned in
-
Page Loading...