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

Enforce disk space retrieval robustness

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.4.2
    • Fix Version/s: 4.4.4
    • Component/s: Framework
    • Release Notes Summary:
      Fixed a bug preventing from adding a new account on Windows
    • Release Notes Description:
      Hide

      In the previous version (4.4.2 that includes the work done on NXDRIVE-2042), we introduced a nice bar to show the amount of disk space available. The same information is displayed when adding a new account, below the local folder selection.
      On Windows, it happens that it introduced a new bug (that can be seen as a regression, you are totally right) when the selected folder was inexistent. Then the mechanism to query the available disk space was failing and thus it could prevent one from adding a new account.
      We enforced that mechanism robustness and it should not fail again, in fact it should always work now.

      Show
      In the previous version (4.4.2 that includes the work done on NXDRIVE-2042 ), we introduced a nice bar to show the amount of disk space available. The same information is displayed when adding a new account, below the local folder selection. On Windows, it happens that it introduced a new bug (that can be seen as a regression, you are totally right) when the selected folder was inexistent. Then the mechanism to query the available disk space was failing and thus it could prevent one from adding a new account. We enforced that mechanism robustness and it should not fail again, in fact it should always work now.
    • Epic Link:
    • Sprint:
      nxDrive 11.1.34
    • Story Points:
      1

      Description

      Issue

      Sentry Issue: NUXEO-DRIVE-3AG

      FileNotFoundError: [WinError 3] Le chemin d’accès spécifié est introuvable
        File "nxdrive\gui\api.py", line 544, in get_free_disk_space
        File "shutil.py", line 1037, in disk_usage
      

      Analysis

      This is a ew bug introduced with NXDRIVE-2042 (and so a regression too) and prevented users from adding a new account when one was selecting a non-existent folder. That's explain the high priority.

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 45 minutes
                  45m