Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-26231

xwiki-platform-legacy-mail-send-storage doesn't declare xwiki-platform-mail-send-storage as a feature

    XMLWordPrintable

Details

    • 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:

      1. 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

          Activity

            People

              tmortagne Thomas Mortagne
              rbancescu Rares-Emil Bancescu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: