[MGNLWEBDAV-28] WebDAV module fails install/update process when installed with Magnolia 4.5 Created: 28/Mar/12  Updated: 06/Jun/13  Resolved: 18/Apr/12

Status: Closed
Project: WebDAV (closed)
Component/s: None
Affects Version/s: 1.0.1
Fix Version/s: 1.1

Type: Bug Priority: Critical
Reporter: Matt Dertinger Assignee: Daniel Lipp
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia EE 4.5.1, STK 2.0.1


Issue Links:
causality
is causing MGNLWEBDAV-32 Verify current implementation of Mgnl... Closed
relation
is related to MGNLWEBDAV-34 WebDAV Module doesn't work properly w... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:
Visible to:
Tony McCrary

 Description   

Hi,

Currently, if you try to install the WebDAV module with Magnolia EE 4.5 in a fresh repository, the following error occurs during the install/update process.


ERROR info.magnolia.cms.beans.config.ConfigLoader       
: An unspecified error occurred during initialization: info.magnolia.module.delta.ArrayDelegateTask.<init>
(Ljava/lang/String;Linfo/magnolia/module/delta/Task;Linfo/magnolia/module/delta/Task;)V

java.lang.NoSuchMethodError: info.magnolia.module.delta.ArrayDelegateTask.<init>
(Ljava/lang/String;Linfo/magnolia/module/delta/Task;Linfo/magnolia/module/delta/Task;)V
at info.magnolia.module.webdav.setup.WebdavModuleVersionHandler.getExtraInstallTasks(WebdavModuleVersionHandler.java:58)

Additionally, looking at the Jackrabbit dependencies that come in with the WebDAV module, it looks like the Jackrabbit 1.6 dependencies are being included. I'm not sure if these are compatible with Jackrabbit 2.2.

Let me know if you have any questions.

Cheers,
Matt



 Comments   
Comment by Bob Ziuchkovski [ 02/Apr/12 ]

It appears to be a problem with Magnolia 4.5.1 Community Edition as well. I checked-out the source and it looks like there have been some incompatible JCR-related API changes in 4.5. In particular it looks like the method of obtaining a JCR session is different. Unfortunately I have zero personal experience with either Jackrabbit or Magnolia's JCR API, so I can't contribute. I would patch it if I could. Anyway, I'd love to see this module work with 4.5.1.

Comment by Ondrej Chytil [ 03/Apr/12 ]

Added note to Modules migration page. WebDAV module will be adapted to work with 4.5.

Comment by Daniel Lipp [ 27/Apr/12 ]

WebDAV 1.0 is not binary compatible with Magnolia 4.5. This could be fixed by forcing to use the varargs constructor of ArrayDelegateTask, but as there's also required changes in authentication/authorization.

WebDAV 1.1 is compiled/developed against 4.5 and contains all required changes.

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