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

Register definition from un-registered module when loading <module_name>/config.yaml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0, 6.2.28
    • 6.2.27
    • None
    • None

      Context

      • Defined "config.yaml" inside a folder located in "magnolia.resources.dir" e.g /magnolia-sso/config.yaml, with "magnolia-sso" is not (or no longer ^^) an existing/registered module name.
      2022-12-22 12:21:39,552 ERROR info.magnolia.event.SimpleEventBus : Exception caught when dispatching info.magnolia.module.PopulateModulesEvent with info.magnolia.config.module.ModuleConfigurationRegistry$$Lambda$483/0x0000000800843840 eventHandler. java.lang.IllegalArgumentException: No module registered with name "magnolia-sso".

      ACs

      • The config.yaml resource file should be loaded only and have ResourceChangeHandler registered
      • Should not block the startup process when having the similar config.yaml resource with file path with folder name doesn't match with any registered module.

        Acceptance criteria

              nguyen.phung Nguyen Phung Chi
              nguyen.phung Nguyen Phung Chi
              AdminX
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 6d 1h
                    6d 1h