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

Node is permanently added at /config/modules/[module name] by light module descriptor - backport to 5.4.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 5.4.9
    • 5.4.7
    • None
    • None
    • Kromeriz 59
    • 2

    Description

      When a light module supplies a module descriptor, a node is added in the config workspace at /modules/[module name]. This node remains even if the the directory of the light module is removed.
      This should not be the case because:

      • Where possible, a light module should be gone if the directory is removed.
      • If the module is removed and added again, the install does not occur again as one would expect. (I'm not sure if this has any impact in how the dependencies are evaluated.)

      To be decided
      How to handle this.
      Some options:

      • The node should not be added to the config workspace. (This would rule out any kind of version handling, which is probably ok for now.)
      • At startup, or on file observation: If the module is removed, the node from the config workspace should also be automatically removed.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ajuran AntonĂ­n Juran
                czimmermann Christopher Zimmermann
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 0.5h
                      0.5h