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

Syncing two roots with the same folder name gets Drive into trouble

    Details

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

      Description

      In web ui

      • Create a folder specifications, subscribe to it with Drive
      • Add some content to it

      ==> Observe that the folder and its content are synced properly.

      • Create a sibling folder also with the title "specifications", from Web UI
      • Add some content to it
      • subscribe to it with Drive

      ==> Observe that Drive starts syncing but then stops, but we have one one specification folder, and the icon of the specification folder remain in "syncing" state

      *Expected behaviour *
      Synchronisation error, that says "Specifications folder could not be added as sync root because a folder with the same name already exists in there". All status icons are in a consistent state.

      or, better:

      Future improvement:
      The second specification folder is locally renamed specifications_1 to avoid conflict, but this rename doesn't impact server rename. That way content is sync, we have no error and it is all good.

        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 - 5 minutes
                  5m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.