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

Deletion of a hot fix configuration is not picked up

    Details

    • Release notes required:
      Yes
    • Documentation update required:
      Yes
    • Sprint:
      Basel 131, Basel 132
    • Story Points:
      3
    • Magnolia Release:
      5.4.15, 5.5.9, 5.6.2

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fgrilli Federico Grilli
                Reporter:
                rkovarik Roman Kovařík
              • Votes:
                2 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                  Time Tracking

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