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

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 4.2.0
    • None
    • None
    • 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

              Unassigned Unassigned
              adouma Ate Douma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: