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

Handle folder remote rename when doing full remote scan

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.5
    • Fix Version/s: 2.4.6
    • Component/s: Synchronizer

      Description

      Following to NXDRIVE-849, the issue still remains in 2.4.5.

      Here is the scenario to reproduce the issue:

      1. install Nuxeo Server 7.10
      2. install Drive client on 2 machines (2.1.1221)
      3. create User1
      4. create User2
      5. User1: Server: Create Folder MEFolder in the personal workspace
      6. User1: Share MEFolder with User2 using Manage Everything permission
      7. User1: Server: Enable synchronization on MEFolder
      8. User2: Server: Enable synchronization on MEFolder
      9. User1: Client: Launch Drive client and wait for sync completion
      10. User1: Client: from the MEFolder folder, start the createFolders.sh script (this will create 10 folders)
      11. User1: Client: wait for sync completion
      12. User2: Client: Launch Drive client and wait for sync completion
      13. User2: Client: Quit Drive client
      14. User1: Client: from the MEFolder folder, start the createFiles.sh script (this will create 250 files per folder)
      15. User1: Client: wait for sync completion
      16. User1: Client: from the MEFolder folder, start the renameFolders.sh script (this will rename the 10 folders through REST)
      17. User2: Client: now don't wait for previous step sync completion and immediately start Drive client, then wait for sync completion

      Expected result: Folders should be renamed in Drive client along with sync.
      Actual result: Folders rename is unsuccessful in Drive client, but all files are synced successfully.

      Please find attached scripts for faster reproduction.

      Please note the scripts use the -n curl option. It uses the credentials stored in the .netrc file of the user home folder.

        Attachments

        1. createFiles.sh
          0.3 kB
          Frantz Fischer
        2. createFolders.sh
          0.1 kB
          Frantz Fischer
        3. nxdrive-20170628-1714.log
          2.72 MB
          Anne Jubert
        4. renameFolders.sh
          3 kB
          Mickaël Schoentgen

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 4 days, 1 hour
                  4d 1h