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

Report modules dependencies exceptions all at once

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 4.4.11, 4.5.9
    • None
    • core

      It would be nice to have modules dependencies exceptions possibly occurring while installing or updating Magnolia reported all at once whereas now, if there's more than one such exception, one first needs to fix it, then restart Magnolia, find the next exception, fix it and so on.
      The desired output would be something like the following

      2013-03-14 18:45:45,886 ERROR info.magnolia.init.MagnoliaServletContextListener : Oops, Magnolia could not be started
      info.magnolia.module.model.reader.ModuleDependencyException: The following exceptions were found while checking Magnolia modules dependencies (i.e. those in META-INF/magnolia/my-module.xml ):
      Module Magnolia Velvet Admin Central (version 5.0.0-SNAPSHOT) is dependent on adminInterface version 5.0/*, but Magnolia Admin Interface Module (version 4.5.0-SNAPSHOT) is currently installed.
      Module Magnolia Velvet Admin Central (version 5.0.0-SNAPSHOT) is dependent on groovy version 5.0/*, but Magnolia Groovy Module (version 1.3.0-alpha1) is currently installed.
      Module Magnolia Standard Templating Kit Module (version 2.5.0-SNAPSHOT) is dependent on cache version 5.0/*, which was not found.
      Module Magnolia Standard Templating Kit Module (version 2.5.0-SNAPSHOT) is dependent on fckEditor version 4.5/*, which was not found.
      Module Magnolia Activation Module (version 5.0.0-SNAPSHOT) is dependent on admininterface-legacy version 1.0/*, which was not found.
      Module Magnolia 4.5 Migration Module (version 1.2.0) is dependent on adminInterface version 4.5.7/*, but Magnolia Admin Interface Module (version 4.5.0-SNAPSHOT) is currently installed.
      Module Magnolia Groovy Module (version 1.3.0-alpha1) is dependent on adminInterface version 4.5.2/*, but Magnolia Admin Interface Module (version 4.5.0-SNAPSHOT) is currently installed.
      Module Magnolia Form Module (version 1.4.3) is dependent on mail version 4.5.1/*, which was not found.
      Module Magnolia Public User Registration Module (version 1.4.4-SNAPSHOT) is dependent on adminInterface version 4.5.7/*, but Magnolia Admin Interface Module (version 4.5.0-SNAPSHOT) is currently installed.
      Module Magnolia Public User Registration Module (version 1.4.4-SNAPSHOT) is dependent on mail version 4.5.7/*, which was not found.
      Module Magnolia Public User Registration Module (version 1.4.4-SNAPSHOT) is dependent on magnolia-4-5-migration version 1.2.1/*, but Magnolia 4.5 Migration Module (version 1.2.0) is currently installed.
      Module Magnolia Categorization Module (version 1.2.3) is dependent on adminInterface version 4.5.1/*, but Magnolia Admin Interface Module (version 4.5.0-SNAPSHOT) is currently installed.
      

        Acceptance criteria

              mdivilek Milan Divilek
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD