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

Force refetch of the server's config on Direct Edit command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2, 4.4.3
    • Fix Version/s: 4.4.5
    • Component/s: Direct Edit, Security
    • Release Notes Description:
      Hide

      The fixed issue here is that Direct Edit starts only when the server configuration has been retrieved first. So when the app started and there were connection issues (bad network, no VPN, ...) then there was no Direct Edit thread started.

      Later, still while the app was running, even if the network issues were fixed, it was not possible to use Direct Edit without restarting the app.

      Now the server configuration is fetched "on-demand" before doing any Direct Edit.

      Show
      The fixed issue here is that Direct Edit starts only when the server configuration has been retrieved first. So when the app started and there were connection issues (bad network, no VPN, ...) then there was no Direct Edit thread started. Later, still while the app was running, even if the network issues were fixed, it was not possible to use Direct Edit without restarting the app. Now the server configuration is fetched "on-demand" before doing any Direct Edit.
    • Tags:
    • Backlog priority:
      300
    • Story Points:
      3

      Description

      Preliminary steps:

      • On VPN, create a Nuxeo instance on an internal network
      • configure Drive Server on this instance
      • configure Drive Client on your local laptop to remotely access this Nuxeo instance (no need to synchronize, simply login)
      • Stop Drive Client locally
      • Stop the VPN

      Steps to reproduce
      Starting point: VPN is OFF, Drive Client is not started

      • start Drive Client and await it to appear in the tray
      • turn VPN ON
      • Access the Nuxeo instance using an internet browser and create a File document and attach a binary to it (e.g. a DOCX file)
      • Direct Edit the binary
      • Nothing happens

      Workaround steps

      • Restart Drive
      • Direct Edit the binary
      • You at least see some notification and Drive action, or the document goes up to opening locally

      Request that even if the DNS cannot resolve at first an intranet address, it keeps trying when requested to open a file (and by the way, the request comes from the address to resolve, so it likely can be resolved at that time from a DNS perspective)

        Attachments

        1. nxdrive.log
          174 kB
          Patrick Abgrall

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 4 hours, 40 minutes
                4h 40m