Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-1522

Can't restore some node structures with custom versioning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.GA
    • Fix Version/s: 5.1.2
    • Component/s: None

      Description

      Some node structures can't be restored properly, producing:

      javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for

      {http://www.nuxeo.org/ecm/system}

      frozenNode
      at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicablePropertyDef(EffectiveNodeType.java:773)
      at org.apache.jackrabbit.core.NodeImpl.getApplicablePropertyDefinition(NodeImpl.java:933)
      at org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java:429)
      at org.apache.jackrabbit.core.NodeImpl.getOrCreateProperty(NodeImpl.java:400)
      at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2232)
      at org.nuxeo.ecm.core.versioning.custom.VerServUtils.restoreNodeProps(VerServUtils.java:514)
      at org.nuxeo.ecm.core.versioning.custom.VerServUtils.restoreChildNodes(VerServUtils.java:604)
      at org.nuxeo.ecm.core.versioning.custom.VerServUtils.restoreNodeProps(VerServUtils.java:526)
      at org.nuxeo.ecm.core.versioning.custom.CustomVersioningService.restore(CustomVersioningService.java:312)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: