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

'Complete transfer' action throwing error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: ADDONS_10.10
    • Fix Version/s: ADDONS_10.10
    • Component/s: Aspera Connector
    • Tags:
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Removed the `aspera-transfer-complete` event and its listeners. From now on, there is no such event being fired.

      Show
      Removed the `aspera-transfer-complete` event and its listeners. From now on, there is no such event being fired.
    • Sprint:
      nxApps 2020 Cycle 8

      Description

      Reproduction steps:

      • After navigating to Aspera Dashboard, I proceed to creating a New Upload.
      • I choose No when asked if I want to automatically complete the transfer after the upload is completed.
      • I add some files to the dropzone 
      • With the upload ongoing, I navigate back to the Aspera Dashboard
      • After waiting for a while to let the files fully upload, I refresh page in order to see the 'Complete Transfer' button
      • I click the 'Complete Transfer' button and then 'Yes' to confirm

      Outcome:

      • I get the error message 
        Resource request failed: 500d44aa-e0ad-43fb-989b-9312a40e9283
      • In console, I have the following error 
        PUT https://preview-aspera-master.napps.dev.nuxeo.com/nuxeo/api/v1/aspera/transfer/500d44aa-e0ad-43fb-989b-9312a40e9283/complete 404
      • After a hard refresh, I was able to press the 'Complete Transfer' without any error and the transfer state change to 'Pending'
      • After a refresh, the transfer was shown as 'Completed'

       

      Note - With similar steps I also had the following error before:

      PUT https://preview-aspera-master.napps.dev.nuxeo.com/nuxeo/api/v1/aspera/transfer/d8b12944-66e2-452e-9efd-f5316a802e72/complete 500
      (anonymous) @ nuxeo-app.html?ts=1595955513082-44.js:2239 http @ nuxeo-app.html?ts=1595955513082-44.js:2227 execute @ nuxeo-app.html?ts=1595955513082-44.js:3302 _doExecute @ nuxeo-app.html?ts=1595955513082-46.js:280 (anonymous) @ nuxeo-app.html?ts=1595955513082-46.js:261 Promise.then (async) execute @ nuxeo-app.html?ts=1595955513082-46.js:259 put @ nuxeo-app.html?ts=1595955513082-46.js:194 _completeUpload @ nuxeo-aspera-upload-page.html?ts=1595955513082.js:119 _completeUpload @ nuxeo-aspera-action-bar.html?ts=1595955513082.js:37 handler @ nuxeo-app.html?ts=1595955513082-12.js:79 _confirm @ nuxeo-aspera-confirm-button.html?ts=1595955513082.js:33 handler @ nuxeo-app.html?ts=1595955513082-12.js:79 _fire @ nuxeo-app.html?ts=1595955513082-17.js:674 forward @ nuxeo-app.html?ts=1595955513082-17.js:1069 click @ nuxeo-app.html?ts=1595955513082-17.js:1032 _handleNative @ nuxeo-app.html?ts=1595955513082-17.js:452 nuxeo-app.html?ts=1595955513082-46.js:317 Resource request failed: Not allowed to follow transition <to_pending> from state <completed
      

       

       

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h