[ http://jira.magnolia.info/browse/MAGNOLIA-1700?page=all ]

Grégory Joseph closed MAGNOLIA-1700.
------------------------------------

    Resolution: Won't Fix

> You have to change adminInterface's dependency version from 3.0 to 
> 3.1.0-SNAPSHOT in dms.xml to start Magnolia, otherwise another error will 
> occur.

Well, that's the point of the dependency definition. dms-1.1.1 depends on 
admininterface 3.0, and that has to be read "dms can not work with any other 
version than admininterface 3.0".

To make custom modules work, you unfortunately will have to recompile them (no 
code changes), because a bunch of classes (HierarchyManager, Content, NodeData) 
have become interfaces.



> API compatibility for modules broken (from 3.0 to 3.1)
> ------------------------------------------------------
>
>                 Key: MAGNOLIA-1700
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1700
>             Project: Magnolia
>          Issue Type: Bug
>          Components: updatemechanism
>    Affects Versions: 3.1 M3
>            Reporter: Oliver Lietz
>         Assigned To: Grégory Joseph
>             Fix For: 3.5 RC2
>
>
> running Magnolia update (trunk) breaks when using DMS module 1.1.1, this is 
> also true for custom modules written against 3.0 api.
> (You have to change adminInterface's dependency version from 3.0 to 
> 3.1.0-SNAPSHOT in dms.xml to start Magnolia, otherwise another error will 
> occur.)
> [...]
> WARN   info.magnolia.cms.module.AbstractModule AbstractModule.java(<init>:75) 
> 24.08.2007 14:49:24  This module extends the deprecated AbstractModule class 
> [class info.magnolia.module.dms.DMSModule]
> ERROR  
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/magnolia].[default]
>  StandardWrapperValve.java(invoke:253) 24.08.2007 14:49:24  Servlet.service() 
> for servlet default threw exception
> java.lang.IncompatibleClassChangeError
>         at info.magnolia.module.dms.DMSModule.configureMenu(DMSModule.java:72)
>         at info.magnolia.module.dms.DMSModule.onRegister(DMSModule.java:60)
>         at 
> info.magnolia.cms.module.AbstractModule.register(AbstractModule.java:110)
>         at 
> info.magnolia.module.LegacyModuleVersionHandler$1.execute(LegacyModuleVersionHandler.java:41)
>         at 
> info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:391)
>         at 
> info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:190)
>         at 
> info.magnolia.module.ModuleManagerUI.execute(ModuleManagerUI.java:54)
>         at 
> info.magnolia.cms.filters.MagnoliaMainFilter.doFilter(MagnoliaMainFilter.java:80)
>         at 
> info.magnolia.cms.filters.AbstractMagnoliaFilter.doFilter(AbstractMagnoliaFilter.java:46)
> [...]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to