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

Deletion of a hot fix configuration is not picked up

    XMLWordPrintable

Details

    • Yes
    • Yes
    • Basel 131, Basel 132
    • 3

    Description

      To reproduce (with no active subscriber):

      1. apply a hot fix on a yaml configuration, e.g. change template title
      2. check that changes were picked up
      3. delete a hotfix (the node is not marked as deleted because there is no active subscriber)
      4. changes are still there

      After some further investigation, the issue apparently affects only configuration files, not templates, as one can see in the attached screencast where we tried to reproduce the issue. In particular, after removing a hot fix, the original configuration is not reloaded at YamlConfigurationSource#loadAndRegister. That should be triggered at LayeredResourceOrigin.RelayingChangeHandler#onResourceChange starting at line#294 but the condition to trigger the onResourceChanged method is never met.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                fgrilli Federico Grilli
                rkovarik Roman Kovařík
                Votes:
                2 Vote for this issue
                Watchers:
                10 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 - 1.75d
                      1.75d