[WEBCLIENT-84] Not able to search Previous Queries if "Any Categories" is selected Created: 12/Mar/15  Updated: 12/May/15  Resolved: 18/Mar/15

Status: Closed
Project: i2b2 Web Client
Component/s: CRC Cell, Web Client
Affects Version/s: None
Fix Version/s: 1.7.05

Type: Bug Priority: Major
Reporter: Janice Donahoe Assignee: Janice Donahoe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
related to WEBCLIENT-80 New view: Find Previous Queries Closed
Affects View/s:
Find (Previous Queries)
i2b2 Feature/s:
Find Previous Queries
i2b2 Sponsored Project/s:
i2b2 Web Client
Testing Notes: 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
Participant/s:

 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.


 Comments   
Comment by Janice Donahoe [ 12/May/15 ]
Version 1.7.05 of the i2b2 Software has been released and is available for download on the i2b2 website (http://www.i2b2.org/software).
Generated at Fri Mar 29 15:17:50 UTC 2024 using Jira 8.20.11#820011-sha1:0629dd8d260e3954ece49053e565d01dabe11609.