You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2010/10/14 15:22:33 UTC
[jira] Resolved: (JCR-2784) NodeStateMerger.merge should abort if
the primary type of the 2 states to be compare are not the same
[ https://issues.apache.org/jira/browse/JCR-2784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela resolved JCR-2784.
-------------------------
Resolution: Fixed
> NodeStateMerger.merge should abort if the primary type of the 2 states to be compare are not the same
> -----------------------------------------------------------------------------------------------------
>
> Key: JCR-2784
> URL: https://issues.apache.org/jira/browse/JCR-2784
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: 2.0.0, 2.1.0, 2.1.1
> Reporter: angela
> Assignee: angela
> Fix For: 2.2.0
>
>
> the NodeStateMerger#merge currently aborts if the mixin types of the passed state and its overlayed state are not equal.
> as of jsr 283 not the only the mixin types but also the primary type of a node can be modified.
> for consistency reasons NodeStateMerger#merge should abort and return false if the primary types are not the same.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.