There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-787c212d-805a-40d0-bac0-e7b8d19a165c XWIKI-22328 In Progress

IllegalStateException when installing extension on farm which replace extensions installed on several wikis

 
View issue   ยท   Add comment
 

2 updates

 
cid:jira-generated-image-avatar-2500c3c0-0dc6-453c-9a28-8d4a912de5a6 Changes by Thomas Mortagne on 16/Jul/24 09:19
 
Summary: IllegalStateException when installing extension on farm which replace extensions installed on several wikis
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 :

{code}
        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]
{code}

Marking as blocker as it is a regression.