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

ModuleUtil.bootstrap() uselessly creating nodes before import, and in the wrong workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.0.2, 3.1 M1
    • 3.0.1
    • core
    • None

      In ModuleUtil.bootstrap(), we try to create the parent of to-be-imported nodes before delegating to the actual import code (DataTransporter.importXmlStream), but
      1- this is always done in the "config" repository (same bug as MAGNOLIA-1326)
      2- not visible since done in the system session, which happens to be never same afterwards in most cases *

      this is useless since DataTransporter.importXmlStream does it (and in the correct repository this time!)

      • It only becomes visible if by chance, after bootstrapping nodes outside the config repository, another module bootstrap files again in the config repository, and thus saves it.

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD