Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6375

NoSuchNodeTypeException when unregistering dependent mgnl:content nodes and then trying to remove mgnl:content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.3.12, 5.4.3
    • 5.3.11, 5.4.2
    • core
    • Saigon 13, Basel 16
    • 5

    Description

      Mgnl:content dependent nodetypes are unregistered and then mgnl:content node is unregistered causing: required node type does not exist
      javax.jcr.nodetype.NoSuchNodeTypeException:

      {http://www.magnolia.info/jcr/mgnl}

      content in info.magnolia.setup.for5_0.AbstractNodeTypeRegistrationTask#registerNodeTypes. This might be due to the fact that jcr removes mgnl:content implicitly after all dependent nodes are unregistered.
      Remove supertype of dependent nodes from the list of nodes to be un-registered.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ejervidalo Espen Jervidalo
                kdewitte Karel de Witte
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - 1d Original Estimate - 1d
                      1d
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 2d 1h 20m
                      2d 1h 20m