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

Not able to search Previous Queries if "Any Categories" is selected

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.05
    • Component/s: CRC Cell, Web Client
    • Labels:
      None
    • Affects View/s:
      Find (Previous Queries)
    • i2b2 Feature/s:
      Find Previous Queries
    • i2b2 Sponsored Project/s:
      i2b2 Web Client
    • Testing Notes:
      Hide
      03/18/2015: Tested with the latest Web Client build and it is now working correctly. I am able to do a search when the category is defined as "Any Category" which is the default.

      Browsers Tested: Chrome, Firefox, Internet Explorer, Safari
      Show
      03/18/2015: Tested with the latest Web Client build and it is now working correctly. I am able to do a search when the category is defined as "Any Category" which is the default. Browsers Tested: Chrome, Firefox, Internet Explorer, Safari

      Description

      In the new Find for Previous Queries you are not able to do a search if "Any Category" is selected. The following error is returned in the XML message received from the CRC.

      <condition type="ERROR">PreparedStatementCallback; invalid ResultSet access for SQL [select * from ( select query_master_id,name,user_id,group_id,create_date,delete_date,null as request_xml,delete_flag,generated_sql, null as i2b2_request_xml, master_type_cd, null as plugin_id from i2b2demodata.qt_query_master where LOWER(name) like ? and delete_flag = ? order by create_date desc ) where rownum &lt;= 20]; nested exception is java.sql.SQLException: Invalid column index</condition>

      If the user must select a category to perform a search then Any Category should not be available for selection. It can appear as a label so users know they need to select something.

      A separate issue will be submitted to address the fact that the user never receives an error message. The only way to know there is an error is to look at the xml messages.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jmd86 Janice Donahoe
                Reporter:
                jmd86 Janice Donahoe
                Participant/s:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code