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

web client query returns invalid XML if query specifies a concept containing the ampersand character (&)

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.00
    • 1.6.05
    • Web Client Framework
    • None
    • RHEL5
    • Query Tool

    Description

      If a concept uses the ampersand character (&) in its C_FULLNAME and/or C_DIMCODE (such as "\test\Procedures\CPT\Emergoing Technology, Services & Procedures\"), then any query that directly selects that concept fails due to "An error has occured while trying to run the query. The cell's message could not be interpreted as valid XML." The same query initiated from the workbench client works as expected.

      A cursory investigation shows that the web client does not send the Query to the i2b2 server, and the cause appears to be that the ampersand character "&" may not be properly encoded into "&" during XML creation, thereby creating an invalid XML string. Or, perhaps a second layer of encapsulation is required to properly represent the ampersand character. I suspect that this error may also occur if other fields (C_NAME, C_COMMENT, etc) contain the ampersand character, but this has not been verified.

      Attachments

        Activity

          ahn D Ahn created issue -
          mem61 Mike Mendis made changes -
          Field Original Value New Value
          Assignee Mike Mendis [ mem61 ] Griffin Weber [ weber ]
          ahn D Ahn added a comment -
          It seems that the less than character (<) is also causing the same problem.
          ahn D Ahn added a comment - It seems that the less than character (<) is also causing the same problem.
          mem61 Mike Mendis made changes -
          Fix Version/s 1.6.05 [ 10071 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          jmd86 Janice Donahoe made changes -
          Workflow classic default workflow [ 10029 ] i2b2 Issues [ 10335 ]
          fixed
          jmd86 Janice Donahoe added a comment - fixed
          jmd86 Janice Donahoe made changes -
          Assignee Griffin Weber [ weber ] Mike Mendis [ mem61 ]
          jmd86 Janice Donahoe made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          jmd86 Janice Donahoe made changes -
          Affects View/s Query Tool [ 10077 ]
          Component/s Web Client [ 10021 ]
          Component/s Querytool [ 10004 ]
          jmd86 Janice Donahoe made changes -
          Workflow i2b2 Issues [ 10335 ] i2b2 Issues Workflow [ 10497 ]
          jmd86 Janice Donahoe made changes -
          Component/s Web Client Framework [ 10043 ]
          Component/s Web Client [ 10021 ]
          Fix Version/s 1.6.05 [ 10118 ]
          Fix Version/s 1.6.05 [ 10071 ]
          Key LEOPARD-16 WEBCLIENT-3
          Project i2b2 [ 10000 ] i2b2 Web Client [ 10033 ]
          Affects Version/s 1.3.00 [ 10102 ]
          Affects Version/s 1.3.00 [ 10000 ]
          Workflow i2b2 Issues Workflow [ 10497 ] Web Client Issues Workflow [ 10607 ]

          People

            mem61 Mike Mendis
            ahn D Ahn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: