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

Take into account ignore suffixes from the server configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.10
    • Fix Version/s: 5.3.x
    • Component/s: Configuration, Synchronizer
    • Tags:
    • Backlog priority:
      800
    • Sprint:
      nxdrive #43, nxdrive #44
    • Story Points:
      5

      Description

      Steps to reproduce:

      1. configure nuxeo-drive-config.json to customize the ignored suffixes
         "ignored_suffixes": [".crdownload", ".lock", ".nxpart", ".part", ".partial", ".swp", ".tmp", "~"], 
      2. start Nuxeo server
      3. create a workspace and synchronize it with Drive
      4. upload to the workspace 4 files whose names are foo.tmp, foo.part, foo.bak and foo.txt
      5. set up your local Drive client
      6. enable local synchronization
      7. wait for the synchro to complete
      8. observe that a folder has been created with only 1 file in it : foo.tmp => foo.bak has been banned where the "bak" suffix is allowed now

      Look at the debug.logfile to see the configuration and the banned items

       

      Expected behavior: foo.tmp and foo.bak are synchronized to respect the global configuration

        Attachments

        1. config.ini
          0.3 kB
        2. debug.log
          139 kB
        3. image-2023-11-10-15-56-44-577.png
          image-2023-11-10-15-56-44-577.png
          16 kB
        4. image-2023-11-10-16-05-16-326.png
          image-2023-11-10-16-05-16-326.png
          23 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: