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

ModuleRegistry : throw an exception for unknown modules

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: