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

Fix synchronization if folder path is greater than 260 characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.914
    • Fix Version/s: 2.2.227
    • Component/s: Synchronizer
    • Tags:
    • Backlog priority:
      800

      Description

      Steps to reproduce:
      1. Administrator on Server: Create this folder structure

      - A23456789…. (Folder name contains 90 Chars)
      |- B23456789… (Folder name contains 90 Chars)
         |- C23456789…. (Folder name contains 90 chars)
            |- JellyFIsh.jpg
      

      2. Administrator on Server: Enable sync from server on the folder A23456789...
      3. Administrator on Client : Connect Drive client and wait for sync
      4. Administrator on Client: After Sync Successful, Create a new folder D23456789…(50 Chars) under folder C23456789…. and place a file under it
      5. Administrator on Client:Wait for sync with server

      Expected Result: Folder D23456789 …. sync with server along with contents
      Actual Result: Folder D23456789 …. does not sync with server along with contents (Uploading failed).

      First error in the logs related to this problem is

      ERROR    nxdrive.engine.processor Parent folder of /A23456~1/B23456~1/C23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/D23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890, /A23456~1/B23456~1/C23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 is not bound to a remote folder
      Traceback (most recent call last):
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 236, in _execute
        File "nuxeo-drive-client\nxdrive\engine\processor.py", line 398, in _synchronize_locally_created
      ValueError: Parent folder of /A23456~1/B23456~1/C23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890/D23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890, /A23456~1/B23456~1/C23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 is not bound to a remote folder
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 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, 1 minute
                1d 1m