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

[Direct Edit] Document is never locked when the local folder is a UNC name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.2.5
    • Component/s: Direct Edit
    • Environment:
      Windows
    • Release Notes Summary:
      Fixed Direct Edit lock issue when the local folder is a UNC name
    • Release Notes Description:
      Hide

      Previously, the Direct Edit feature was not able to lock a document when the local folder was a UNC name. This was caused by the fact that UNC names do not support extended attributes and Direct Edit is heavily relying on them.
      This issue has been fixed by using a temporary folder for Direct Edit when a UNC path is specified but it made document recovery in Direct Edit impossible.

      Show
      Previously, the Direct Edit feature was not able to lock a document when the local folder was a UNC name. This was caused by the fact that UNC names do not support extended attributes and Direct Edit is heavily relying on them. This issue has been fixed by using a temporary folder for Direct Edit when a UNC path is specified but it made document recovery in Direct Edit impossible.
    • Roadmap Milestone:
      AI.enrich.timeSeries
    • Backlog priority:
      500
    • Sprint:
      nxplatform #39
    • Story Points:
      2

      Description

      Create a remote drive mapping "Z:" and on the remote computer, give e.g. Everybody the modification, read, write, execute and browse permissions

      Download nuxeo-drive.exe 5.2.1 installer in Z:\ and execute

      z:\nuxeo-drive.exe /SILENT
      rd /Q/S z:\local
      rd /Q/S z:\drivehome
      md z:\local
      "%USERPROFILE%\AppData\local\Nuxeo Drive\ndrive.exe" bind-server --nxdrive-home "z:\drivehome" --nofscheck --password "Administrator" --local-folder "z:\local" Administrator http://YOUR_NUXEO_URL
      

      Put in %USERPROFILE%\.nuxeo-drive\config.ini and z:\drivehome\config.ini the following setup:

      [DEFAULT]
      env = nm
      
      [nm]
      nofscheck = true
      nxdrive_home = z:\
      locale = fr
      feature.synchronization = true
      feature.auto-update = False
      feature.direct-edit = True
      feature.direct_transfer = False
      use-sentry = False
      feature.s3 = False
      

      and (re)start Nuxeo Drive client

      Direct Edit a document with this setup:

      • this document is never locked
      • there is a message in the UI stating document is being unlocked and log shows this happens

      Request is that a remote drive network mapping is transparent and works as if a local drive.

        Attachments

        1. config.ini
          0.2 kB
        2. nxdrive.log
          237 kB
        3. nxdrive.log
          47 kB

          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 - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 45 minutes
                  45m