Uploaded image for project: 'Bug Repository'
  1. Bug Repository
  2. BUG-698 QL mirroring
  3. BUG-699

support relative paths for data set linkouts (URL in annots.xml) for QuickLoad

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      This feature relates to mirroring IGB QuickLoad.

      The annots.xml file tag has attribute "url"

      When a data set (file) is displayed in the Available Data treeview, the URL is used to create the hyperlinked 'i' info icon linkout.

      Feature request is:

      If the url is relative (e.g., looks like foo/bar/baz.html or ./foo/bar/baz.html or /foo/bar/baz.html – anything lacking a protocol prefix such as http://, ftp://, or file://) then IGB should append the relative url path to the QuickLoad URL.

      In other words, if it would be a valid link in a Web page, then it should work as an info hyperlink, and the web root should be the address of the QuickLoad site.

      For example, if "url" attribute is "M_musculus_Dec_2011" and the server URL is "http://www.igbquickload.org/quickload", then the linkout from the info icon should be "http://www.igbquickload.org/quickload/M_musculus_Dec_2011"

      Note that IGB will need to be able to handle url attributes that begin (or don't begin) with a leading slash and also that this will need to be tested with local quickload as well.

        Attachments

          Activity

          Hide
          fwang4 Fuquan Wang (Inactive) added a comment -

          Assigning for testing, done in 14263

          Show
          fwang4 Fuquan Wang (Inactive) added a comment - Assigning for testing, done in 14263
          Hide
          alyssa Alyssa Gulledge (Inactive) added a comment -

          Wording corrected.

          Show
          alyssa Alyssa Gulledge (Inactive) added a comment - Wording corrected.
          Hide
          fwang4 Fuquan Wang (Inactive) added a comment - - edited

          Fixed for branch 7.0 in 14355

          Show
          fwang4 Fuquan Wang (Inactive) added a comment - - edited Fixed for branch 7.0 in 14355
          Hide
          hiralv Hiral Vora (Inactive) added a comment - - edited

          To test,

          Add http://bioviz.org/quickload/ Quickload
          Go to S_lycopersicum_May_2012 && A_gambiae_Feb_2003
          Try to load file from that server and see if everything works.

          Show
          hiralv Hiral Vora (Inactive) added a comment - - edited To test, Add http://bioviz.org/quickload/ Quickload Go to S_lycopersicum_May_2012 && A_gambiae_Feb_2003 Try to load file from that server and see if everything works.
          Hide
          alyssa Alyssa Gulledge (Inactive) added a comment -

          Data loaded just fine.

          Show
          alyssa Alyssa Gulledge (Inactive) added a comment - Data loaded just fine.

            People

            • Assignee:
              Unassigned
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: