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

Fix nuxeoctl management of packages that depend upon nuxeo-jsf-ui

    Details

      Description

      nuxeoctl incorrectly installs packages that contain install/bundles-jsf-ui before package nuxeo-jsf-ui is installed. In particular, the files in the install/bundles-jsf-ui are excluded from the installation which corrupts the integrity of the server startup.

      Steps to reproduce:

      mkdir /tmp/staging

      Download hotfix 01 through 23 to /tmp/staging
      Download nuxeo-jsf-ui-10.10.0.zip to /tmp/staging
      Download nuxeo-spreadsheet.1.4.3.zip to /tmp/staging

      $NUXEO_HOME/bin/nuxeoctl stop
      $NUXEO_HOME/bin/nuxeoctl --offline -q --accept true --relax true mp-purge
      $NUXEO_HOME/bin/nuxeoctl mp-list
      # ensure nothing is installed
      
      find /tmp/staging -name '*HF*' | while read hf; do\
        $NUXEO_HOME/bin/nuxeoctl --offline --nodeps --accept true --relax true mp-add $hf;\
        $NUXEO_HOME/bin/nuxeoctl --accept true mp-install $hf;\
      done
      $NUXEO_HOME/bin/nuxeoctl --offline --nodeps --accept true --relax true mp-install\
       /tmp/staging/nuxeo-jsf-ui-10.10.0.zip\
       /tmp/staging/nuxeo-spreadsheet.1.4.3.zip
      $NUXEO_HOME/bin/nuxeoctl start
      
      grep $NUXEO_HOME/nxserver/bundles/nuxeo-platform-spreadsheet-jsf-10.10.jar
      # JAR exists
      
      # Repeat except substitute this marketplace installation - note the order is reversed:
      $NUXEO_HOME/bin/nuxeoctl --offline --nodeps --accept true --relax true mp-install\
       /tmp/staging/nuxeo-spreadsheet.1.4.3.zip\
       /tmp/staging/nuxeo-jsf-ui-10.10.0.zip
      
      grep $NUXEO_HOME/nxserver/bundles/nuxeo-platform-spreadsheet-jsf-10.10.jar
      # JAR missing
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hbrown Harlan Brown
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.