You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2021/11/09 11:10:00 UTC

[jira] [Comment Edited] (JCR-4680) ConstraintViolationException in VersionManagerImplRestore when target node has a property definition unknown by the frozen node

    [ https://issues.apache.org/jira/browse/JCR-4680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317021#comment-17317021 ] 

Julian Reschke edited comment on JCR-4680 at 11/9/21, 11:09 AM:
----------------------------------------------------------------

trunk: (2.21.6) [r1888505|http://svn.apache.org/r1888505]
2.20: (2.20.4) [r1893936|http://svn.apache.org/r1893936]
2.16: [r1894861|http://svn.apache.org/r1894861]



was (Author: reschke):
trunk: (2.21.6) [r1888505|http://svn.apache.org/r1888505]
2.20: [r1893936|http://svn.apache.org/r1893936]


> ConstraintViolationException in VersionManagerImplRestore when target node has a property definition unknown by the frozen node
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-4680
>                 URL: https://issues.apache.org/jira/browse/JCR-4680
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: versioning
>    Affects Versions: 2.20.2
>            Reporter: Eduardo Perez Garcia
>            Priority: Major
>              Labels: candidate_jcr_2_14
>             Fix For: 2.22, 2.21.6, 2.16.8, 2.20.4
>
>         Attachments: JCR-4680-test.diff, VersionManagerImplRestore.patch
>
>
> If we attempt to restore a frozen node from the version history, but the target node has new property definitions (mixins), we get a ConstraintViolationException because the properties of the new node are processed after replacing its mixins with the mixins from the frozen node.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)