[ https://issues.apache.org/jira/browse/OAK-9459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17773931#comment-17773931 ]
Manfred Baedke commented on OAK-9459: ------------------------------------- PR#1146: Avoiding constraint violation by retrieving property definitions before setting node types. > ConstraintViolationException in VersionManagerImplRestore when target node > has a property definition unknown by the frozen node > ------------------------------------------------------------------------------------------------------------------------------- > > Key: OAK-9459 > URL: https://issues.apache.org/jira/browse/OAK-9459 > Project: Jackrabbit Oak > Issue Type: Bug > Components: jcr > Reporter: Julian Reschke > Assignee: Manfred Baedke > Priority: Major > > See https://issues.apache.org/jira/browse/JCR-4680 > {noformat} > [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) > {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)