tmortagne, this happens when the upgrade plan is computed for the main wiki. The upgrade plan tree contains in this case on the first level the same extension twice, once for the global namespace and once for the main wiki?
produces:
You can reproduce this by installing org.xwiki.rendering:xwiki-rendering-macro-jira-5.3 on 6.0-SNAPSHOT and then going to Extension Updater section in the main wiki administration.
If I compute the upgrade plan for the global namespace or for a sub wiki the result is good. A quick fix is to compute the upgrade plan for the global namespace when on the main wiki but this is a problem for large farms like myxwiki.org where you want to compute the upgrade plan only for the main wiki, not for the entire farm (which it going to take a while..).
So there are two issues to fix:
- global extensions are duplicated when computing the upgrade plan for the main wiki (works fine for the global namespace and subwikis)
- there's no way for the user to choose between computing the upgrade plan only for the main wiki (myxwiki.org) and computing the upgrade plan for the entire farm (xwiki.org) (I'm referring to the Extension Updater here).
The duplicate is caused by
XCOMMONS-557.