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

[Direct Edit] Better server URL comparison

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.4.0
    • Fix Version/s: 4.5.1
    • Component/s: Direct Edit
    • Release Notes Summary:
      Direct Edit now handles default URL ports
    • Release Notes Description:
      Hide

      It is now possible to use Direct Edit when the user registered an account with a server URL containing 443 or 80 ports.

      Show
      It is now possible to use Direct Edit when the user registered an account with a server URL containing 443 or 80 ports.
    • Epic Link:
    • Sprint:
      nxDrive 11.2.11
    • Story Points:
      2

      Description

      Error

      Sentry Issue: NUXEO-DRIVE-2T8

      HTTPError: 404 Client Error:  for url: https://SERVER:443/nuxeo/https://SERVER/nuxeo/nxfile/default/DOCID/file:content/file.docx
        File "lib\site-packages\nuxeo\client.py", line 274, in request
        File "lib\site-packages\requests\models.py", line 941, in raise_for_status
      
      HTTPError: HTTPError(404), error: b'<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\\n\\n\\n\\n\\n\\n\\n\\n<html>\\n\\n<head>\\n  <title>Page not found</title>\\n ...'
        File "nxdrive\direct_edit.py", line 513, in edit
        File "nxdrive\direct_edit.py", line 500, in edit
        File "nxdrive\direct_edit.py", line 447, in _prepare_edit
        File "nxdrive\direct_edit.py", line 319, in _download
        File "nxdrive\client\remote_client.py", line 284, in download
        File "lib\site-packages\nuxeo\client.py", line 277, in request
      

      Analysis

      The issue is that the user registered an account using SERVER:443 and is using Direct Edit from the browser using SERVER.

        Attachments

          Issue Links

            Activity

              People

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