Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.6.08
-
None
-
Query Tool
-
i2b2 Core
Description
Users are not able to run a query if the concept used in the query does not have a tooltip defined. When clicking on "Run Query" the query name will not default in the dialog window. After entering a query name and clicking on OK, the dialog window will close and nothing else appears to happen. The query does not run.
This issue only affects the 1.6.08 version of the i2b2 Web Client. It works correctly in previous versions.
This issue was fixed in 1.6.09 which was release on April 10, 2013. For those users who are not able to upgrade at this time to 1.6.09 or the latest i2b2 builds there is a one line fix that can be made.
Edit file js-i2b2/cells/CRC/CRC_ctrlr_QryTool.js
At line 743 you will see the following
sdxData.origData.key = (sdxData.origData.key).replace(/</g,"<");
sdxData.origData.name = (sdxData.origData.name).replace(/</g,"<");
sdxData.origData.tooltip = (sdxData.origData.tooltip).replace(/</g,"<");
At line 745 add the if statement below, before the sdxData.origData.tooltip
sdxData.origData.key = (sdxData.origData.key).replace(/</g,"<");
sdxData.origData.name = (sdxData.origData.name).replace(/</g,"<");
if (undefined != sdxData.origData.tooltip)
sdxData.origData.tooltip = (sdxData.origData.tooltip).replace(/</g,"<");
This issue only affects the 1.6.08 version of the i2b2 Web Client. It works correctly in previous versions.
This issue was fixed in 1.6.09 which was release on April 10, 2013. For those users who are not able to upgrade at this time to 1.6.09 or the latest i2b2 builds there is a one line fix that can be made.
Edit file js-i2b2/cells/CRC/CRC_ctrlr_QryTool.js
At line 743 you will see the following
sdxData.origData.key = (sdxData.origData.key).replace(/</g,"<");
sdxData.origData.name = (sdxData.origData.name).replace(/</g,"<");
sdxData.origData.tooltip = (sdxData.origData.tooltip).replace(/</g,"<");
At line 745 add the if statement below, before the sdxData.origData.tooltip
sdxData.origData.key = (sdxData.origData.key).replace(/</g,"<");
sdxData.origData.name = (sdxData.origData.name).replace(/</g,"<");
if (undefined != sdxData.origData.tooltip)
sdxData.origData.tooltip = (sdxData.origData.tooltip).replace(/</g,"<");