[MGNLIMG-27] module is dependent on magnolia 3.0 -- can't use with 3.1 Created: 08/Nov/07  Updated: 12/Jun/09  Resolved: 12/Jun/09

Status: Closed
Project: Imaging
Component/s: None
Affects Version/s: 1.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: David Smith Assignee: Magnolia International
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

tomcat 5.5, magnolia 3.1 trunk (svn revision 12303)


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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

On attempting to add magnolia-module-imagefiltering to 3.1 trunk, the following exception occurs:

info.magnolia.module.model.reader.ModuleDependencyException: Module magnolia-module-imagefiltering (version 1.0.0-SNAPSHOT) is dependent on admininterface version 3.0, but Magnolia Admin Interface Module (version 3.1.0-SNAPSHOT) is currently installed.

It'd be nice when time allows to at least branch this module and create a version usable with 3.1.



 Comments   
Comment by Magnolia International [ 08/Nov/07 ]

if you want to try, and if you're lucky, updating the dependencies in META-INF/magnolia/imagefiltering.xml could be enough.

Comment by David Smith [ 08/Nov/07 ]

On the surface, that seems to have done it. My dev build bootstrapped normally with only a change to the version in the admininterface dependency. I'll have to do some deeper testing to see if there are any other issues. Is there a way to define a minimum version dependency or a version range dependency? Seems rather limited to hard code specific versions into module dependencies.

Comment by Magnolia International [ 08/Nov/07 ]

http://svn.magnolia.info/view/magnolia/trunk/magnolia-core/src/test/java/info/magnolia/module/model/VersionRangeTest.java?view=markup
Only available as from 3.1, though

Comment by Magnolia International [ 22/Feb/08 ]

should work now
(still lots of TODOs, but functionality is there)

Comment by Magnolia International [ 12/Jun/09 ]

Rewrite of the module for 2.0 is now dependent on Magnolia 4.1

Generated at Mon Feb 12 02:11:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.