Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1604

Relax node type change restrictions to allow reparenting without changing the effective node type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: None
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Pulsar
    • Sprint:
      Platform Sprint 145, Platform Sprint 147

      Description

      Case in point: HIPPLUG-1407 for which we want to allow the reparenting of selection:listitem > nt:base to selection:listitem > hippo:compound.
      As hippo:compound > nt:base without adding any other type definitions, effectively and technically such a change really is and should be trivial, but currently the checks in Jackrabbit NodeTypeDiff doesn't allow it.

      The intend is to improve and relax the check in NodeTypeDiff#supertypesDiff() to allow for such "no-impact" changes, by checking and comparing the effective parent types instead of just the list of parent names.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                adouma Ate Douma
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: