Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9459

ConstraintViolationException in VersionManagerImplRestore when target node has a property definition unknown by the frozen node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.60.0, 1.22.19
    • jcr
    • None

    Description

      See https://issues.apache.org/jira/browse/JCR-4680

      [ERROR] Tests run: 473, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.546 s <<< FAILURE! - in org.apache.jackrabbit.oak.jcr.tck.VersionIT
      [ERROR] testRestoreRemovesMixin(org.apache.jackrabbit.test.api.version.RestoreTest)  Time elapsed: 0.087 s  <<< ERROR!
      javax.jcr.RepositoryException: org.apache.jackrabbit.oak.api.CommitFailedException: OakVersion0000: Unexpected RepositoryException
              at org.apache.jackrabbit.test.api.version.RestoreTest.testRestoreRemovesMixin(RestoreTest.java:1486)
      Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakVersion0000: Unexpected RepositoryException
              at org.apache.jackrabbit.test.api.version.RestoreTest.testRestoreRemovesMixin(RestoreTest.java:1486)
      Caused by: javax.jcr.nodetype.ConstraintViolationException: No matching property definition found for jcr:title
              at org.apache.jackrabbit.test.api.version.RestoreTest.testRestoreRemovesMixin(RestoreTest.java:1486)
      
      
      

      Attachments

        Issue Links

          Activity

            People

              baedke Manfred Baedke
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: