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

Automation operation 'WebUI.DownloadFile' builds a malformed download URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.10-HF18
    • Fix Version/s: 7.10-HF19, 8.10-HF01, 9.1
    • Component/s: Automation

      Description

      Which prevents the blob download. See the double slash before nxbigblob in http://localhost:8080/nuxeo//nxbigblob/45436203-4d9f-4723-b071-b7a13166b28e
      Debugging shows that BaseURL.getBaseURL() in operation's class DownloadFile returns http://localhost:8080/nuxeo/ (with trailing slash).

      How to reproduce:

      • create a user action for document type File running the following automation chain:
        - Context.FetchDocument
        - Document.GetBlob: {}
        - WebUI.DownloadFile
        

        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 - 1 hour
                  1h