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

Fix local file rename rollback

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.4.1
    • Component/s: Synchronizer

      Description

      Sentry Issue: NUXEO-DRIVE-28E

      # Drive 4.2.0
      AttributeError: 'NoneType' object has no attribute 'rstrip'
        File "nxdrive\engine\processor.py", line 1383, in _handle_failed_remote_rename
        File "nxdrive\client\local_client.py", line 629, in rename
        File "nxdrive\utils.py", line 569, in safe_os_filename
        File "nxdrive\utils.py", line 555, in safe_filename
      

      The same error on Drive 4.3.0 and newer:

      TypeError: expected string or bytes-like object
      File "engine/processor.py", line 1462, in _handle_failed_remote_rename
      File "client/local/base.py", line 458, in rename
      File "utils.py", line 622, in safe_os_filename
      File "utils.py", line 607, in safe_filename
      File ".../re.py", line 192, in sub
      

        Attachments

          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 - 2 hours
                2h