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

Duplicate issue following the scenario from NXDRIVE-668

    XMLWordPrintable

    Details

      Description

      The scenario described in NXDRIVE-668 should be fixed with the changes made to Drive and the server-side changes made for NXP-21853 and NXP-21854.
      Yet we found another bug: when the downstream synchronization is processed to Client-User01, a duplicate can occur:

      • subfolder01
      • subfolder01__1

      This happens when the documentCreated event is the first one in the list of fileSystemItemChanges sent by the server, which is sorted by descending event date.
      Happens on OS X that performs the rename first then the create, which becomes the most recent event.

      To reveal this bug just uncomment the lines related to "# TODO NXDRIVE-769: uncomment when deduplication issue is fixed" in TestSynchronization:

      • test_rename_and_create_same_folder_not_running
      • test_rename_and_create_same_file_not_running

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: