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

ModuleRegistry : throw an exception for unknown modules

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.3
    • None
    • core, updatemechanism
    • None

    Description

      An exception should be thrown when attempted to get unknown modules.
      Care needs to be taken - some code checks if a module is present (see InstallContext for instance) - but ideally the methods of ModuleRegistry should be consistent in how they treat absent module. Maybe we'll need to expose a new method to check for modules' existence.

      For 4.1 we'll simply issue a warning to avoid breaking the api.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                gjoseph Magnolia International
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD