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

JalviewJS doesn't honour arguments passed via Info.args when there are arguments on the URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Being documented
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.11.1_js
    • Fix Version/s: 2.11.2, 2.11.2_js
    • Component/s: jalview-j2s
    • Labels:
      None

      Description

      Also reported at https://github.com/jalview/jalview-js/issues/11

      JalviewJS doesn't honour arguments passed via Info.args when there are arguments on the URL:

      In a situation where the URL has arguments relevant to the application's context, JalviewJS still processes those arguments in favour of its own provided arguments. However, this only seemed to happen when core files were used.

      Stepping through the javascript showed the Info.args were overwritten when Jalview.main's static initializers were called, this includes a call to jalview.util.Platform.getURLCommandArguments() - which doesn't check for an existing value of Info.args

      Jalview JS build: 18535ed
      Built from: jalview commit id: 26f79fac447ccf6235bbf52992455f0a2bc6cbcd

        Attachments

          Activity

            People

            Assignee:
            jprocter Jim Procter
            Reporter:
            smoretti S├ębastien Moretti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: