Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1157

NodeTypeDefDiff does not take same-name child type definitions into account

    XMLWordPrintable

    Details

    • Similar issues:

      Description

      Jackrabbit allows child node definitions with the same name, e.g.:

      [type] > nt:base
      + child (nt:file)
      + child (nt:folder)

      In org.apache.jackrabbit.spi.commons.nodetype.NodeTypeDefDiff previous and new child node definitions are paired with each other based on their name in order to determine whether there are changes between them. But the order in which they are paired is unpredictable because internally stored in a plain HashSet. Because the HashSet internals have changed between Java 7 and Java 8 we now see exceptions due to incompatible node type changes because the child node definitions are no longer paired up during diffing like before.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                uhommes Unico Hommes (Inactive)
                Reporter:
                uhommes Unico Hommes (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: