Description
From Marius Dumitru Florea:
If I add the target namespaces to the install request then the plan looks like this:
The following extensions will be upgraded: Contrib JIRA Macro 1.2 (in wiki math) Version 1.1 is installed Contrib JIRA Macro 1.2 (in wiki xwiki) Version 1.1 is installed
which is fine, but then when I execute the plan, if the version to install is not cached locally, I get:
Starting job of type [install] with identifier [extension/action/org.xwiki.contrib:macro-jira]
Starting job of type [installplan]
Resolving extension [Contrib JIRA Macro 1.2] on namespace [wiki:math]
Found already installed extension with id [Contrib JIRA Macro 1.2]. Checking compatibility.
Resolving extension [Contrib JIRA Macro 1.2] on namespace [wiki:xwiki]
Found already installed extension with id [Contrib JIRA Macro 1.2]. Checking compatibility.
Finished job of type [installplan]
Downloading [Contrib JIRA Macro 1.2]
Downloading [Contrib JIRA Macro 1.2]
Extension [org.xwiki.contrib:macro-jira-1.2] already exists in local repository
class org.xwiki.extension.repository.LocalExtensionRepositoryException: Extension [org.xwiki.contrib:macro-jira-1.2] already exists in local repository
at org.xwiki.extension.repository.internal.local.DefaultLocalExtensionRepository.storeExtension(DefaultLocalExtensionRepository.java:176)
at org.xwiki.extension.job.internal.InstallJob.storeExtension(InstallJob.java:173)
at org.xwiki.extension.job.internal.InstallJob.store(InstallJob.java:161)
at org.xwiki.extension.job.internal.InstallJob.start(InstallJob.java:132)
at org.xwiki.job.AbstractJob.start(AbstractJob.java:134)
at org.xwiki.job.internal.DefaultJobManager.run(DefaultJobManager.java:155)
at java.lang.Thread.run(Thread.java:722)
Finished job of type [install] with identifier [extension/action/org.xwiki.contrib:macro-jira]
If I try again it works, because this time the version to install is cached. Can you fix this for 4.5.1 and 5.0M1? Thanks.
Attachments
Issue Links
- blocks
-
XWIKI-8748 When an extension is installed on several wikis "Upgrade on farm" should upgrade the extension only on theses wikis
-
- Closed
-