-
Bug
-
Resolution: Fixed
-
Blocker
-
4.2, 4.2.1
-
None
The change to the signature in MgnlContext.doInsystemContext() introduced for MAGNOLIA-2921 introduced a binary incompatibility with everything was compiled with al older version.
Changing the return value from "void" to "java.lang.Void" causes the following exception:
2009-11-29 15:32:44,998 ERROR info.magnolia.cms.servlets.MVCServletHandlerImpl : can't call command: show java.lang.NoSuchMethodError: info.magnolia.context.MgnlContext.doInSystemContext(Linfo/magnolia/context/MgnlContext$SystemContextOperation;)V at net.sourceforge.openutils.mgnlmedia.media.utils.ImageUtils.checkOrCreateResolution(ImageUtils.java:565) at net.sourceforge.openutils.mgnlmedia.media.utils.ImageUtils.checkOrCreateResolution(ImageUtils.java:511) at net.sourceforge.openutils.mgnlmedia.media.types.impl.ImageTypeHandler.getThumbnailUrl(ImageTypeHandler.java:48) at net.sourceforge.openutils.mgnlmedia.media.pages.MediaFolderViewPage.show(MediaFolderViewPage.java:257)
According to the comments in MAGNOLIA-2921 this should not be what expected, the original method should have been deprecated without changes (and it actually has been deprecated, but after such modification), and a new method has been added.
Acceptance criteria
- is related to
-
MGNLPUR-40 Re-release against Magnolia 4.2.3
- Closed