Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3614

Forbid special characters in the release or tag name

    XMLWordPrintable

    Details

      Description

      Some special characters make a release unusable.
      For instance, the tag "1.0.0LTS 2015" will make the package installation fail with this stacktace

      nuxeoctl mp-install "myprojet-1.0.0LTS 2015"
      Detected Tomcat server.
      Nuxeo home:          /var/nuxeo/nuxeo
      Nuxeo configuration: /var/nuxeo/conf/nuxeo.conf
      Include template: /var/nuxeo/nuxeo/templates/common-base
      Include template: /var/nuxeo/nuxeo/templates/common
      Include template: /var/nuxeo/nuxeo/templates/default
      Include template: /var/nuxeo/nuxeo/templates/postgresql
      Include template: /var/nuxeo/nuxeo/templates/drive
      Include template: /var/nuxeo/nuxeo/templates/shibboleth
      Include template: /var/nuxeo/nuxeo/templates/custom
      Include template: /var/nuxeo/nuxeo/templates/quota
      Relax mode changed from 'ask' to 'false' for executing the pending actions.
      
      Dependency resolution:
        Installation order (2):        myproject-1.0.0LTS 2015
        Unchanged packages (25):       shibboleth-authentication:2.3.4, nuxeo-7.10-HF05:1.0.0, nuxeo-7.10-HF06:1.0.0, nuxeo-7.10-HF07:1.0.0, nuxeo-7.10-HF08:1.0.0, nuxeo-7.10-HF09:1.0.0, nuxeo-spreadsheet:1.1.4, nuxeo-7.10-HF01:1.0.0, nuxeo-7.10-HF02:1.0.0, nuxeo-diff:1.6.5, nuxeo-7.10-HF03:1.0.0, nuxeo-7.10-HF04:1.0.0, easyshare:1.2.4, nuxeo-quota:1.5.6, nuxeo-drive:1.5.4, nuxeo-platform-smart-search:1.7.1, nuxeo-7.10-HF16:1.0.0, nuxeo-dam:6.1.4, nuxeo-7.10-HF10:1.0.0, nuxeo-7.10-HF11:1.0.0, nuxeo-7.10-HF12:1.0.1, nuxeo-7.10-HF13:1.0.1, nuxeo-web-mobile:1.7.4, nuxeo-7.10-HF14:1.0.0, nuxeo-7.10-HF15:1.0.0
        Packages to upgrade (1):       myproject:0.0.0-SNAPSHOT
        Packages to download (1):      myproject:1.0.0LTS 2015
      
      Downloading [myproject-1.0.0LTS 2015]...
      Exception in thread "ConnectDownloadThread-1-1" java.lang.IllegalArgumentException: Invalid uri 'https://connect.nuxeo.com/nuxeo/studiopackage/myproject-1.0.0LTS 2015': escaped absolute path not valid
              at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:222)
              at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:89)
              at org.nuxeo.connect.downloads.LocalDownloadingPackage.run(LocalDownloadingPackage.java:134)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h