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

trailing spaces in filename triggers duplicate documents with windows client

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Synchronizer

      Description

      1. install nuxeo
      2. install drive on osx
      3. create a workspace and synchronize it
      4. on osx
      5. create a file with a trailing space, for example {{abcdefg }}
      6. wait for sync and double-check it exists in Nuxeo
      7. export it and double-check the trailing space is present in the *file:content* property and not in the title (this is the expected behavior)
      8. install drive on windows
      9. wait for sync
      10. check the files in the windows folder: a file named abcdefg (without any space) has been created
      11. the document is now duplicated on the server
      12. after exporting the new document as XML it contains a *file:content* property without the trailing space.

      For the record, linux/OSX accept trailing spaces in the filenames whereas Windows does not. Thus, when synchronizing, Windows creates the file withtout any. Drive seems to recognize this as a new file and then upload it.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: