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

[GNU/Linux] File is not deleted on the server when the parent folder is renamed, while offline

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.1.3
    • Fix Version/s: Postponed
    • Component/s: Local watcher
    • Environment:
      GNU/Linux

      Description

      The issue has been fixed with NXDRIVE-695 on macOS and Windows. This ticket is to follow the postponed GNU/Linux resolution.

      The fix may be quite complex and I have no idea how to fix it right now. The issue is highlighted by the test test_folder_renaming_while_offline() from test_synchronization_suspend.py.

      The thing is that the FileDeletedEvent is targetting the old file path instead of the renamed path:

      Handling watchdog event [deleted] on '.../drive/test_folder_renaming_while_offline/folder/subfolder/file.txt'
      

      On other OSes, this event is:

      Handling watchdog event [deleted] on '.../drive/test_folder_renaming_while_offline/folder-renamed/subfolder-renamed/file.txt'
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m