[MAGNOLIA-4907] Report modules dependencies exceptions all at once Created: 14/Mar/13  Updated: 11/Dec/13  Resolved: 27/May/13

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: None
Fix Version/s: 4.4.11, 4.5.9

Type: Improvement Priority: Neutral
Reporter: Federico Grilli Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: alpha4
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MAGNOLIA-3803 When instance fails to start due to u... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

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.


 Comments   
Comment by Milan Divilek [ 24/May/13 ]

Reopen: Missing port to 4.5.x branch

Generated at Mon Feb 12 04:00:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.