Uploaded image for project: 'Apache Taverna'
  1. Apache Taverna
  2. TAVERNA-318

Importing a profile form a URL seems to be encoding URLs (which may already be encoded) and then when it cannot find the resource it does not report the error to the user but just logs it as a warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: To Do
    • Critical
    • Resolution: Unresolved
    • None
    • None

    Description

      Importing a profile form a URL seems to be encoding URLs (which may already be encoded) and then when it cannot find the resource it does not report the error to the user but just logs it as a warning.

      E.g. when attempting to load a profile from a URL http://www.myexperiment.org/files/1027/versions/1/download/Empty%20profile.xml, it gives:

      WARN 2014-03-26 11:25:08,304 (net.sf.taverna.t2.component.profile.ComponentProfile:175) - failed to load profile
      java.io.FileNotFoundException: http://www.myexperiment.org/files/1027/versions/1/download/Empty%2520profile.xml
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1624)
      at net.sf.taverna.t2.component.profile.ComponentProfile$1.run(ComponentProfile.java:155)
      at java.lang.Thread.run(Thread.java:724)

      Attachments

        Activity

          People

            Unassigned Unassigned
            stain Stian Soiland-Reyes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: