Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1352

Properly encode download package URI

    XMLWordPrintable

    Details

      Description

      Studio proj assetserv-marketplace has 5.1.2-Reference Platform as most recent release. Can't be installed via nuxeoctl.

      harlans-MacBook-Pro:~ harlan$ ./nuxeo-cap-7.10-tomcat/bin/nuxeoctl mp-install assetserv-reference
      Detected Tomcat server.
      Nuxeo home:          /Users/harlan/nuxeo-cap-7.10-tomcat
      Nuxeo configuration: /Users/harlan/nuxeo-cap-7.10-tomcat/bin/nuxeo.conf
      Include template: /Users/harlan/nuxeo-cap-7.10-tomcat/templates/common-base
      Include template: /Users/harlan/nuxeo-cap-7.10-tomcat/templates/common
      Include template: /Users/harlan/nuxeo-cap-7.10-tomcat/templates/default
      
      Dependency resolution:
        Installation order (1):        assetserv-reference-5.1.2-Reference Platform
        Unchanged packages (10):       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-dam:6.1.4, nuxeo-7.10-HF01:1.0.0, nuxeo-7.10-HF02:1.0.0, nuxeo-7.10-HF03:1.0.0, nuxeo-7.10-HF04:1.0.0
        Packages to download (1):      assetserv-reference:5.1.2-Reference Platform
      
      Do you want to continue (yes/no)? [yes] 
      Downloading [assetserv-reference-5.1.2-Reference Platform]...
      Exception in thread "ConnectDownloadThread-1-1" java.lang.IllegalArgumentException: Invalid uri 'https://connect.nuxeo.com/nuxeo/studiopackage/assetserv-reference-5.1.2-Reference Platform': 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: