Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30472

Fix uninstallation of hotfixes can lead to installation of wrong bundles versions

    XMLWordPrintable

    Details

      Description

      How to reproduce
      Install Nuxeo 10.10 from ZIP install

      #notice the following first installs HFs, then addons
      nuxeoctl mp-install nuxeo-web-ui nuxeo-jsf-ui nuxeo-dam nuxeo-10.10-HF38 --accept=true
      cd .. & dir /b/s > HF38-1.txt & cd bin
      nuxeoctl mp-install nuxeo-10.10-HF47 --accept=true
      nuxeoctl mp-uninstall nuxeo-10.10-HF39 --accept=true
      cd .. & dir /b/s > HF38-2.txt & cd bin
      bash -c "diff HF38-1.txt HF38-2.txt | grep -v packages > diff.txt"
      

      leads to the following diff.txt output:

      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-platform-imaging-core-10.10-HF37.jar
      ---
      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-platform-imaging-core-10.10.jar
      +++
      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-platform-video-api-10.10-HF27.jar
      ---
      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-platform-video-api-10.10.jar
      +++
      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-platform-video-core-10.10-HF37.jar
      ---
      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-platform-video-core-10.10.jar
      +++
      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-search-ui-10.10-HF38.jar
      ---
      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-search-ui-10.10.jar
      +++
      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-web-ui-10.10-HF38.jar
      ---
      nuxeo-server-10.10-tomcat\nxserver\bundles\nuxeo-web-ui-10.10.jar
      

      A possible workaround is to install using:

      nuxeoctl mp-install nuxeo-web-ui nuxeo-jsf-ui nuxeo-dam --accept=true
      nuxeoctl mp-install nuxeo-10.10-HF38 --accept=true
      nuxeoctl mp-install nuxeo-10.10-HF47 --accept=true
      nuxeoctl mp-uninstall nuxeo-10.10-HF39 --accept=true
      

      where this does not provoke any relevant difference in version of installed bundles

        Attachments

        1. registry3.xml
          208 kB
        2. registry2.xml
          243 kB
        3. registry.xml
          208 kB

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: