Details
-
Bug
-
Resolution: Fixed
-
Critical
-
15.5-rc-1
-
Unknown
-
N/A
-
N/A
-
Description
xwiki-platform-legacy-mail-send-storage contains the same code as xwiki-platform-mail-send-storage, and it's the one shipped in the XWiki WAR instead of xwiki-platform-mail-send-storage.
So the Extension Manager doesn't consider xwiki-platform-mail-send-storage installed, and an extension that depends on it:
- online: gets xwiki-platform-mail-send-storage downloaded and installed as an extension ("Mail Sender Storage API"), so the same components end up both in WEB-INF/lib and in an installed extension;
- offline: fails to install, since the dependency can't be resolved.
Steps to reproduce:
- On an XWiki instance without access to remote extension repositories, install an extension that depends on org.xwiki.platform:xwiki-platform-mail-send-storage (e.g. Meeting Application 1.16.2, see https://github.com/xwikisas/application-meeting/issues/160).
Expected results:
The dependency is satisfied by xwiki-platform-legacy-mail-send-storage from the WAR and the extension is installed.
Actual results:
The install fails with:
Failed to resolve extension dependency [org.xwiki.platform:xwiki-platform-mail-send-storage-15.10]
Reproduced on XWiki 15.10.9, 17.10.15 and 18.4.8.
Attachments
Issue Links
- is caused by
-
XWIKI-21014 Remove the mail-resend-on-startup feature in favor of the Scheduler job
-
- Closed
-