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

Direct Edit does not work with filenames containing spaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.1.0
    • Component/s: Direct Edit

      Description

      Reproductible in 9.10, Mac OS High Sierra, Chrome and Firefox.

      • Test on localhost. Drive correctly connected, no error
      • Have an image, say "my cool image.jpg"
      • Upload it
      • Try drive edit => does not work (see the drive log error)
      • Now on the Finder, rename it to "mycoolimage.jpg"
      • Upload it
      • It works

      Drive error:

      2018-03-01 14:22:43,821 4989 140736254387008 ERROR    nxdrive.wui.application Error handling URL event: nxdrive://edit/http/localhost:8080/nuxeo/user/Administrator/repo/default/nxdocid/ed1f9c7e-d506-42dd-b921-3556bfe16ae8/filename/NYC High Line.jpg/downloadUrl/nxfile/default/ed1f9c7e-d506-42dd-b921-3556bfe16ae8/file:content/NYC High Line.jpg
      Traceback (most recent call last):
        File "nxdrive/wui/application.pyc", line 619, in event
        File "nxdrive/direct_edit.pyc", line 308, in edit
        File "nxdrive/direct_edit.pyc", line 269, in _prepare_edit
        File "nxdrive/direct_edit.pyc", line 208, in _download_content
        File "nxdrive/client/base_automation_client.pyc", line 839, in do_get
      HTTPError: HTTP Error 400: Failed to connect to Nuxeo server u'http://localhost:8080/nuxeo/' with user 'Administrator': HTTP error 400
      

      Additional TODO

      • Check for each OS (Windows 7 and 10, macOS) with several browsers (Firefox, Opera, Chrome, Edge, [Safari]) and report the current situation.

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour, 30 minutes
                  1d 1h 30m