[MGNLOBS-13] Observation module deletes existing listener configurations during installation Created: 13/Jan/12  Updated: 25/Sep/14  Resolved: 02/May/14

Status: Closed
Project: Observation
Component/s: None
Affects Version/s: 2.0.1
Fix Version/s: 2.0.2

Type: Bug Priority: Major
Reporter: Antti Hietala Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: regression, support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLCMNT-103 PageCommentsNotification.ftl throws e... Closed
is related to MAGNOLIA-5761 IsModuleInstalledOrRegistered: find a... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Observation module deletes existing listener configurations from config:/modules/observation/config/listenerConfigurations during installation. This should not happen.

Typically the existing listeners are sendMailOnPageComments provided by Commenting and generateCategories provided by Categorization. These are useful listeners. Observation wipes them out and adds its own listeners sendMailOnPageChanges and activateAddedPages instead.

I can see two options to resolve this but don't know which is the correct:

  1. Observation module should leave existing listener configurations alone when it bootstraps its own samples.
  2. All other modules should check whether Observation is installed before bootstrapping any listener configs. If Observation is not installed, don't bootstrap configs.


 Comments   
Comment by Federico Grilli [ 25/Nov/13 ]

No longer an issue

Comment by Antti Hietala [ 24/Mar/14 ]

Regression, reopening. This issue occurs again on Magnolia 5.2.3 and Observation 2.0.1.

Comment by Federico Grilli [ 02/May/14 ]

Option #1 was chosen. Option #2 would depend on fixing MAGNOLIA-5761 to be more reliable.

Generated at Mon Feb 12 10:23:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.