Details
-
Type: Bug
-
Status: Closed
-
Priority: High
-
Resolution: Fixed
-
Affects Version/s: Gazelle TM 5.9.1
-
Fix Version/s: Gazelle TM 5.9.2
-
Component/s: None
-
Labels:None
-
Sprint:2018 - S10
-
Account:Sequoia 2018 (SEQUOIA-201)
Description
We can launch conformance tool (Xdstools) directly from gazelle TM (used only by Sequoia). To do that we need to add this link in the description of a test :
<a href="https://$$GWT$$/rest/xdstools?testInstanceId=$$testInstanceId$$&callingToolOid=$$callingToolOid$$" target="_blank">Link to XDSTools</a>
Gazelle TM then modify this link when a test is instantiated by replacing it by a functional link (replacing the $$GWT$$ by the actual url, etc.).
The issue is the text editor (even in code view) display the character '&' by '&'. If someone edit the test description, the & will be replaced by & in the database : the link will then not be recognize by TM and therefore will not be replaced by a functional link during the instantiation of the test.
What need to be done, either :
- modify the code editor to display the correct character (Likely impossible to do)
- modify how TM is replacing the link (net/ihe/gazelle/tm/gazelletest/action/TestInstanceManager.java function updateXdstoolsLink)
<a href="https://$$GWT$$/rest/xdstools?testInstanceId=$$testInstanceId$$&callingToolOid=$$callingToolOid$$" target="_blank">Link to XDSTools</a>
Gazelle TM then modify this link when a test is instantiated by replacing it by a functional link (replacing the $$GWT$$ by the actual url, etc.).
The issue is the text editor (even in code view) display the character '&' by '&'. If someone edit the test description, the & will be replaced by & in the database : the link will then not be recognize by TM and therefore will not be replaced by a functional link during the instantiation of the test.
What need to be done, either :
- modify the code editor to display the correct character (Likely impossible to do)
- modify how TM is replacing the link (net/ihe/gazelle/tm/gazelletest/action/TestInstanceManager.java function updateXdstoolsLink)