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

IllegalStateException when installing extension which replace an extension installed on several namespace

    XMLWordPrintable

Details

    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce :

      • Start from a vanilla XWiki instance in 15.10.11
      • Create two sub-wikis with the standard flavor, sw1 and sw2
      • Try to install the OnlyOffice connector extension

      When computing the install plan, the following logs appear, and the EM cannot produce the install plan :

              Starting job of type [installplan] with identifier [extension/plan/com.xwiki.onlyoffice-connector:application-onlyoffice-connector-ui]
              Resolving extension [com.xwiki.onlyoffice-connector:application-onlyoffice-connector-ui/2.3.1] on all namespaces
              Resolving extension dependency [com.xwiki.onlyoffice-connector:application-onlyoffice-connector-api-2.3.1] on all namespaces
              Resolving extension dependency [org.xwiki.platform:xwiki-platform-oldcore-[15.10.11]] on all namespaces
              There is already a core extension feature [XWiki Platform - Legacy - Old Core 15.10.11] ([XWiki Platform - Legacy - Old Core 15.10.11]) covering extension dependency [org.xwiki.platform:xwiki-platform-oldcore-[15.10.11]]
              Resolving extension dependency [org.xwiki.platform:xwiki-platform-rest-server-[15.10.11]] on all namespaces
              There is already a core extension feature [XWiki Platform - REST - Server 15.10.11] ([XWiki Platform - REST - Server 15.10.11]) covering extension dependency [org.xwiki.platform:xwiki-platform-rest-server-[15.10.11]]
              Resolving extension dependency [org.xwiki.platform:xwiki-platform-office-importer-[15.10.11]] on all namespaces
              There is already a core extension feature [XWiki Platform - Legacy - Office Importer 15.10.11] ([XWiki Platform - Legacy - Office Importer 15.10.11]) covering extension dependency [org.xwiki.platform:xwiki-platform-office-importer-[15.10.11]]
              Resolving extension dependency [com.inversoft:prime-jwt-1.3.1] on all namespaces
              Resolving extension dependency [com.fasterxml.jackson.core:jackson-core-2.13.0] on all namespaces
              There is already a core extension feature [Jackson-core 2.15.3] ([Jackson-core 2.15.3]) covering extension dependency [com.fasterxml.jackson.core:jackson-core-2.13.0]
              Resolving extension dependency [com.fasterxml.jackson.core:jackson-databind-2.13.0] on all namespaces
              There is already a core extension feature [jackson-databind 2.15.3] ([jackson-databind 2.15.3]) covering extension dependency [com.fasterxml.jackson.core:jackson-databind-2.13.0]
              Resolving extension dependency [com.fasterxml.jackson.core:jackson-annotations-2.13.0] on all namespaces
              There is already a core extension feature [Jackson-annotations 2.15.3] ([Jackson-annotations 2.15.3]) covering extension dependency [com.fasterxml.jackson.core:jackson-annotations-2.13.0]
              Resolving extension dependency [org.xwiki.platform:xwiki-platform-office-ui-[15.10.11]] on all namespaces
              Resolving extension [Office Importer Application 15.10.11] from namespace [Home]
              Resolving extension [Office Importer Application 15.10.11] from namespace [SW1]
              Failed to install optional dependency [org.xwiki.platform:xwiki-platform-office-ui-[15.10.11]] with error: IllegalStateException:
              Resolving extension dependency [org.xwiki.platform:xwiki-platform-office-ui-13.10] on all namespaces
              Resolving extension [Office Importer Application 15.10.11] from namespace [Home]
              Resolving extension [Office Importer Application 15.10.11] from namespace [SW1]
              Exception thrown during job execution
              Finished job of type [installplan] with identifier [extension/plan/com.xwiki.onlyoffice-connector:application-onlyoffice-connector-ui]
      

      Marking as blocker as it is a regression.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              caubin Clément Aubin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: