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

Fix the asynchronous conversion polling

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF14, 8.10
    • Component/s: Convert, Rest API
    • Tags:
    • Sprint:
      nxfit 8.4.3, nxfit 8.4.4
    • Story Points:
      3

      Description

      The polling REST endpoint always returns 404 while the conversion is running.

      The pollingURL redirects to the result when the conversion is done.
      => That's finally some kind of an issue when using it for real in an app (the mobile application for instance): there is no way to not follow the redirect, so there is no way to know when the conversion is done without downloading the whole result.

      • Make the polling URL works and returns 200 with a JSON response containing the status and the result URL.
      • Change the polling behavior to not redirect when the conversion is done, but let the client get the conversion result whenever he wants.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: