Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2833

can't drag and drop URLs with spaces for import

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.11.0
    • Component/s: gui, jvdesktop
    • Labels:
    • Environment:
      Java version: 1.8.0_73, x86_64 Mac OS X 10.10.5

      Description

      Browse to https://www.ebi.ac.uk/pdbe/entry/pdb/5hyn
      and open the 'Download' tab - try to drag and drop the Assembly 1 mmCIF (;gz) URL directly onto the desktop. This yields an exception like:
      DAS1 registry at http://www.ebi.ac.uk/das-srv/registry/das/ no longer exists
      java.net.URISyntaxException: Illegal character in path at index 8: Assembly 1 (mmCIF; gz)
      at java.net.URI$Parser.fail(URI.java:2848)
      at java.net.URI$Parser.checkChars(URI.java:3021)
      at java.net.URI$Parser.parseHierarchical(URI.java:3105)
      at java.net.URI$Parser.parse(URI.java:3063)
      at java.net.URI.<init>(URI.java:588)
      at jalview.gui.Desktop.transferFromDropTarget(Desktop.java:3353)
      at jalview.gui.Desktop.drop(Desktop.java:992)
      at java.awt.dnd.DropTarget.drop(DropTarget.java:455)
      at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:538)

      This URL appears as "http://www.ebi.ac.uk/pdbe/static/entry/download/5hyn-assembly-1.cif.gz" when copy and pasted from the browser, but seems not to be correctly translated when drag'n'dropped (Java version: 1.8.0_73, x86_64 Mac OS X 10.10.5)

        Attachments

          Activity

            People

            Assignee:
            jprocter James Procter
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: