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

[Direct Transfer] Add a new graphical option to choose the duplicate behavior

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.4.2
    • Fix Version/s: 4.4.5
    • Component/s: Direct Transfer, GUI
    • Release Notes Summary:
      Choosing the Duplicates Behavior for Direct Transfer
    • Release Notes Description:
      Hide

      You can choose what to do when a transfer would create a duplicate document on the server. The setting is effective for all files that will be sent at the same time (it is called the session). Each session has its own duplicates behavior.

      Available options are:

      • Create: a duplicate document will be created, this is the same behavior as when adding a new file from Web UI.
      • Ignore: the transfer will be cancelled, preventing the duplicate creation.
      • Override: the document will be replaced on the server.

      Note:
      The Ignore option may be problematic on huge trees: for each and every file, an NXQL query will be done on the server to verify the existence of a similar document.
      And that query is not using Elasticsearch, so if you have folderish documents with thousands of children, that query will likely be a bottleneck.

      TODO: screenshot

      Show
      You can choose what to do when a transfer would create a duplicate document on the server. The setting is effective for all files that will be sent at the same time (it is called the session ). Each session has its own duplicates behavior. Available options are: Create : a duplicate document will be created, this is the same behavior as when adding a new file from Web UI. Ignore : the transfer will be cancelled, preventing the duplicate creation. Override : the document will be replaced on the server. Note: The Ignore option may be problematic on huge trees: for each and every file, an NXQL query will be done on the server to verify the existence of a similar document. And that query is not using Elasticsearch, so if you have folderish documents with thousands of children, that query will likely be a bottleneck. TODO: screenshot
    • Sprint:
      nxDrive 11.2.1
    • Story Points:
      2

      Description

      Currently, a small popup is shown for each and every duplicate, asking the user to either replace the document or cancel the upload. This is annoying and with hundreds of documents this become unusable.

      Instead, we will introduce a new graphical option to choose the duplicate behavior:

      • Create: a duplicate document will be created (default, same as Web-UI).
      • Ignore: the transfer will be cancelled, preventing the duplicate document creation.
      • Override: the document will be replaced.

      That option will be shown on the window where the remote folder has to be selected, so that each Direct Transfer "session" can use a specific duplicates behavior.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 1 day, 2 hours, 20 minutes
                  1d 2h 20m