Hide Forgot
Complexity: Medium project_key: SOA After checking in a subgraph (resulting in a new version in the history) where the OPV of a node in the subgraph used COPY, removing a 'mix:referenceable' node that is a child of a node that was COPIED into the version history, and then restoring the version noted, an exception occurs during the restore. {code} 17:22:41,478 ERROR [STDERR] Caused by: javax.jcr.nodetype.ConstraintViolationException: Unable to determine a valid node definition for the node "/{}VersionStorage/{}VersionedDocumentSections/{}DocumentSection[16]/{}Field" in workspace "workspace" of "JCR Portal" 17:22:41,479 ERROR [STDERR] at org.modeshape.jcr.SessionCache$NodeEditor.createChild(SessionCache.java:1738) 17:22:41,479 ERROR [STDERR] at org.modeshape.jcr.JcrVersionManager$RestoreCommand.restoreNode(JcrVersionManager.java:1116) 17:22:41,479 ERROR [STDERR] at org.modeshape.jcr.JcrVersionManager$RestoreCommand.execute(JcrVersionManager.java:969) 17:22:41,479 ERROR [STDERR] at org.modeshape.jcr.JcrVersionManager.restore(JcrVersionManager.java:698) 17:22:41,481 ERROR [STDERR] at org.modeshape.jcr.JcrVersionManager.restore(JcrVersionManager.java:1826) 17:22:41,481 ERROR [STDERR] at org.oea.jcr.management.impl.JCRManagerImpl.restoreNodeVersion(JCRManagerImpl.java:578) {code} where the primary types of the nodes are: {code} /oea:ignoreUnstructured/oea:ignoreUnstructured/oea:ignoreUnstructured/oea:copyUnstructured {code} and the node types are defined as: {code} <oea="http://www.oea.org/ns/oea/1.0"> [oea:unstructured] orderable - * (UNDEFINED) multiple - * (UNDEFINED) + * (oea:ignoreUnstructured) = oea:ignoreUnstructured sns IGNORE + * (oea:versionUnstructured) = oea:versionUnstructured sns VERSION + * (oea:copyUnstructured) = oea:copyUnstructured sns COPY + * (oea:unstructured) = oea:unstructured sns + * (nt:file) = nt:file sns IGNORE [oea:versionUnstructured] orderable - * (UNDEFINED) multiple - * (UNDEFINED) + * (oea:ignoreUnstructured) = oea:ignoreUnstructured sns IGNORE + * (oea:versionUnstructured) = oea:versionUnstructured sns VERSION + * (nt:file) = nt:file sns [oea:ignoreUnstructured] orderable - * (UNDEFINED) multiple - * (UNDEFINED) + * (oea:ignoreUnstructured) = oea:ignoreUnstructured sns IGNORE + * (oea:versionUnstructured) = oea:versionUnstructured sns VERSION + * (oea:copyUnstructured) = oea:copyUnstructured sns COPY + * (nt:file) = nt:file sns IGNORE [oea:copyUnstructured] orderable - * (UNDEFINED) multiple - * (UNDEFINED) + * (oea:copyUnstructured) = oea:copyUnstructured sns COPY + * (oea:ignoreUnstructured) = oea:ignoreUnstructured sns IGNORE + * (nt:file) = nt:file sns IGNORE {code}
Link: Added: This issue Cloned from MODE-1255
Workflow: Removed: GIT Pull Request workflow Added: jira Security: Added: Public
Verified in ER6