Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27704

Windows-mounted WebDAV duplicates files



    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: WebDAV
    • Environment:
      Windows 10 Version 1809 OS build 17763.504


      WebDAV seems to create duplicate files when editing with local apps.

      Map network drive to http://NUXEO_SERVER/nuxeo/site/dav as Administrator e.g. as Drive N:

      Create a Workspace (e.g.) 'misc'  under /default-domain/workspaces

      Create a Note in 'misc' folder called 'note1' with format = 'Text'

      Click the pencil icon in WebUI and add some textual content e.g. 'This is a test'. Click Save button.

      In Windows Explorer, navigate to 'misc' folder under mounted drive.

      ACTUAL: See file called 'note1.txt'
      EXPECTED: See file called 'note1'

      Double-click 'note1.txt' to open in text editor of choice. Edit the content and save.

      Refresh folder view in Windows Explorer

      ACTUAL: See two files called 'note1.txt'
      EXPECTED: See only one file called 'note1' (or 'note1.txt' as above)

      (Note that re-opening either of these file in text editor shows the modified content, sinc they have the SAME NAME.)

      Navigate to 'misc' folder in WebUI.

      ACTUAL: See two files, original one called 'note1' with original content, second/modified file called 'note1.txt'
      EXPECTED: See one file called 'note1'

      Note that documents created via WebDAV mount are set at version 0.2. Document history shows (in chronological order here):
       - created a version (0.1)
       - created the document
       - modified the document
       - created a version (0.2)
       - modified the document

      which all seems a bit strange (i.e. creating a version before creating the document). By comparison, an empty Note document created in WebUI has:
       - created a version (0.1)
       - created the document




            • Assignee:
              msaye Mark Saye
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: