Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2112

Always start a fresh download on Direct Edit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 4.4.4
    • Component/s: Direct Edit
    • Release Notes Summary:
      A fresh download is now done on each Direct Edit
    • Release Notes Description:
      Hide

      During a Direct Edit, it sometimes happened that the download failed for a number of reasons.
      If the document was large enough to be downloaded by chunks, then an incomplete temporary file was saved. Trying another Direct Edit on that same document was resuming the download using the same temporary file and may caused an error and prevent the file from being opened. The user was not aware of this error as no notifcations were displayed, and nothing was written in the logs.
      The only way to fix this error was for the user to manually remove the temporary and restart a Direct Edit.

      To prevent this issue from happening again, Drive now removes the previously downloaded file and does a fresh download of the document on each Direct Edit.

       

      A similar issue was fixed at the same time, see NXDRIVE-2116.

      Show
      During a Direct Edit, it sometimes happened that the download failed for a number of reasons. If the document was large enough to be downloaded by chunks, then an incomplete temporary file was saved. Trying another Direct Edit on that same document was resuming the download using the same temporary file and may caused an error and prevent the file from being opened. The user was not aware of this error as no notifcations were displayed, and nothing was written in the logs. The only way to fix this error was for the user to manually remove the temporary and restart a Direct Edit. To prevent this issue from happening again, Drive now removes the previously downloaded file and does a fresh download of the document on each Direct Edit.   A similar issue was fixed at the same time, see NXDRIVE-2116 .
    • Tags:
    • Backlog priority:
      900
    • Sprint:
      nxDrive 11.1.32
    • Story Points:
      1

      Description

      We are seing more and more issues because of a previous download failed. Then, doing another Direct Edit on the same document will resume the download. It will work sometimes.

      But this is bad in several ways:

      • The document can be modified between the 2 actions, and so we would have downloaded a file for nothing because we would end on a corrupted download.
      • For some reason, the amount of downloaded data is not the real one compared to what had been downloaded. Here, many external conditions can have influence like memory errors, antivirus quarantine/check, etc..

      So, let's start a fresh download everytime.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 3 days, 45 minutes
                  3d 45m