Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2784

NodeStateMerger.merge should abort if the primary type of the 2 states to be compare are not the same

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0, 2.1, 2.1.1
    • 2.2
    • jackrabbit-core
    • None

    Description

      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.

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: