Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.11.1_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
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