Uploaded image for project: 'Observation'
  1. Observation
  2. MGNLOBS-13

Observation module deletes existing listener configurations during installation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fgrilli Federico Grilli
                Reporter:
                ahietala Antti Hietala
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

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