[MAGNOLIA-7592] Removing decorations of module configurations at runtime is ignored Created: 26/Jul/19  Updated: 29/Mar/22  Resolved: 24/Feb/22

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 6.1
Fix Version/s: 6.2.18

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Antonín Juran
Resolution: Fixed Votes: 0
Labels: nucleus
Remaining Estimate: 0d
Time Spent: 1d 31m
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-7878 Decoration mechanism fails Closed
relation
is related to MAGNOLIA-8092 More than 50 aliases in a YAML file b... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Sprint: Nucleus 4
Story Points: 3
Team: Nucleus

 Description   

Steps to reproduce:

  • Run only author instance of magnolia
  • Create decoration for publishing-core in /categories-app/decorations/publishing-core/config.yaml with:

     receivers:
       magnoliaPublic8080:
         enabled: false

  • Publish/unpublish any content, the decoration is applied => no exception is thrown
  • Remove the decoration
  • Publish/unpublish any content, the config from the decoration is still applied => no exception is thrown but original config of publishing-core should be applied and exception should be thrown.
  • One can also use Definitions App to check that whole magnoliaPublic8080 node disappeared at all after removing decoration yaml file.

Default publishing-core config contains configuration for receivers like below:

receivers:
  magnoliaPublic8080:
    enabled: true



 Comments   
Comment by Christopher Zimmermann [ 29/Jul/19 ]

Could you add a short description of what the effects of this are - and how it happens/steps to reproduce? SOLR aws mentioned in Slack - is there a related ticket?

Comment by Quach Hao Thien [ 23/Feb/22 ]

ajuran would you mind to update the description with step to reproduce?

Generated at Mon Feb 12 04:25:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.