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

Option to downgrade dependencies when downgrading an extension

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 5.3, 5.4-milestone-1
    • Distribution
    • None
    • Debian Wheezy, Tomcat 7.0.28, XWiki packages from maven.xwiki.org

    Description

      I was trying to downgrade a 5.4-milestone1 installation from the 'releases' repo to 5.3 from the 'stable' repo. So after uninstalling the 5.4 packages, and installing the 5.3 packages (keeping configs and DB), i got as far as the distribution wizard. When trying to downgrade the UI via the downgrade button, i end up with an error, this is the entire output:

      Starting job of type [installplan] with identifier [extension/plan/org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki/wiki:xwiki]
      Resolving extension [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-5.3] on namespace [Home]
      Found already installed extension with id [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki]. Checking compatibility...
      Found already installed extension with id [com.xpn.xwiki.products:xwiki-enterprise-manager-wiki-administrator]. Checking compatibility...
      Found already installed extension with id [org.xwiki.manager:xwiki-enterprise-manager-wiki-administrator]. Checking compatibility...
      Found already installed extension with id [org.xwiki.manager:xwiki-manager-wiki-administrator]. Checking compatibility...
      Found already installed extension with id [org.xwiki.manager:xwiki-manager-ui]. Checking compatibility...
      Resolving extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-admin-user-5.3] on namespace [Home]
      There is already an installed extension [Admin User Application 5.4-milestone-1] covering extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-admin-user-5.3]
      Resolving extension dependency [org.xwiki.enterprise:xwiki-enterprise-ui-common-5.3] on namespace [Home]
      Found already installed extension with id [com.xpn.xwiki.products:xwiki-enterprise-wiki]. Checking compatibility...
      The extension [com.xpn.xwiki.products:xwiki-enterprise-wiki-5.4-milestone-1] is already installed
      Finished job of type [installplan] with identifier [extension/plan/org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki/wiki:xwiki]
      

      I could resolve the issue by skipping the distribution wizard, going into the extension manager and removing the main UI extension (XWiki Enterprise - UI) along with most other 5.4 extensions (except for admin/extension management). I then restarted the distribution wizard, which installed a fresh 5.3 UI (went through some diffs -> replace) and downgraded/replaced leftover 5.4 extensions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jon Jonas Keunecke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: