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

Module bootstrapping could accidentally bootstrap another module's files

    XMLWordPrintable

Details

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

    Description

      When a module needs to be bootstrapped, the current mechanism filters files using the following rule:
      name.startsWith("/mgnl-bootstrap/" + moduleName) && name.endsWith(".xml")

      As a consequence, if the currently bootstrapped module (name) is "foo", the bootstrap files from a module called "foo-bar" would be bootstrapped too, which is not desired and time consuming. (Since foo-bar will also boostrapped, if it needed to be bootstrapped too)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD