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

NUXEO_INSTALL_HOTFIX="false" with jsf-ui does not retrieve the right package

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 9.10-HF01
    • Fix Version/s: None
    • Component/s: Cloud

      Description

      nuxeo-jsf-ui 9.10.0-HF01 is not a public package and has an explicit dependency on HF01.

      This means when starting a docker container using the following parameters:

      docker run --name vanilla-nuxeo-9.10 -p 8080:8080 -ti --rm -e NUXEO_DEV_MODE="true" -e NUXEO_INSTALL_HOTFIX="false" -e NUXEO_PACKAGES='nuxeo-web-ui nuxeo-jsf-ui' nuxeo:9.10
      

      it fails to install jsf-ui and tries to retrieve the HF01.

      In the following script:
      https://github.com/nuxeo/docker-nuxeo/blob/master/9.10/docker-entrypoint.sh
      there is no handling of a false value when jsf is required:

        if [ -n "$NUXEO_CLID"  ] && [ ${NUXEO_INSTALL_HOTFIX:='true'} == "true" ]; then
            nuxeoctl mp-hotfix --accept=true
        fi
      

      Testing NUXEO_INSTALL_HOTFIX to be false when the packages contain jsf
      should make it work:

      [[ $NUXEO_PACKAGES =~ .*nuxeo-jsf-ui.* ]]
      

      In this case the package to be installed should be explicitly nuxeo-jsf-ui-9.10.0.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ffischer Frantz Fischer
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: