Uploaded image for project: 'i2b2 Web Client'
  1. i2b2 Web Client
  2. WEBCLIENT-57

Not able to run a query using a concept that does not have a tooltip defined

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.08
    • 1.6.09
    • Web Client
    • 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,"&lt;");
                              sdxData.origData.name = (sdxData.origData.name).replace(/</g,"&lt;");
                              sdxData.origData.tooltip = (sdxData.origData.tooltip).replace(/</g,"&lt;");

      At line 745 add the if statement below, before the sdxData.origData.tooltip
                             sdxData.origData.key = (sdxData.origData.key).replace(/</g,"&lt;");
                              sdxData.origData.name = (sdxData.origData.name).replace(/</g,"&lt;");
       if (undefined != sdxData.origData.tooltip)
                              sdxData.origData.tooltip = (sdxData.origData.tooltip).replace(/</g,"&lt;");

      Attachments

        Activity

          People

            mem61 Mike Mendis
            jmd86 Janice Donahoe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: