[WEBCLIENT-110] Temporal queries do not print unless a population is defined Created: 01/May/15  Updated: 18/Aug/15  Resolved: 08/Jun/15

Status: Closed
Project: i2b2 Web Client
Component/s: Web Client
Affects Version/s: 1.7.05
Fix Version/s: 1.7.06

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

Affects View/s:
Query Tool
i2b2 Feature/s:
Temporal Queries
i2b2 Sponsored Project/s:
i2b2 Web Client
i2b2 Related Project/s:
BBP
Affects Web Browser/s:
All Web Browsers
Reproduction Notes: This issue can be reproduced in both the i2b2 demo and testing environments.

STEPS TO REPRODUCE:

1. In the Query Tool, change the Temporal Constraint to: Define sequence of Events.
2. The Population in which events occur will be the default tab that displays.
3. Do not add anything to the panels in this tab (population).
4. Change the tab to Event 1.
5. Add a term to the first panel.
6. Change the tab to Event 2.
7. Add a term to the first panel.
8. Change the tab to Define order of events.
9. Define the temporal relationships between your two events.
10. Click on Run Query.
11. Once the query finishes running, click on the Print Query button to display the printable version of the query in a new window.
12. Notice a message displays saying no queries are available for printing.
13. At this point go back to the Population in which events occur tab and drop any item into the first panel.
14. DO NOT run the query.
15. Now click on Print Query and notice the temporal query will now display in a new window.
16. Clear the query from the Query Tool.
17. Drag the temporal query you ran in the earlier steps to the Query Tool.
18. Once the results display in the Query Status / Graph Results panel click on Print Query (or the printer icon).
19. Notice the same message as before will display.

Testing Notes: TEST STATUS: Completed
COMPLETION DATE: 06/08/2015
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Test Date: 05/20/2015
Build Number:
Test Status: Issues found and being addressed.

Clients Tested :
     i2b2 Web Client

Environments Tested :
     Browsers: Chrome, Firefox, Internet Explorer, and Safari
     Databases: Not applicable for this test
     Client OS: Mac OS and Windows

Test Comments:
Tested with the latest Web Client build and does not appear to be working correctly in Internet Explorer. The other browsers are working correctly.

In Internet Explorer when you click on the Print button or printer icon the print window does not appear. To the user it looks like nothing is happening. In the Developer Web Console Tool the following error appears:

I.E. 10: Object doesn't support this property or method
I.E. 11: Unable to get property 'value' of undefined or null reference

Both versions appear to be complaining about win_html_inner in the CRC_ctrlr_QryTool.js file (Line: 1880)

++++++++++++++++++++++++++++++++++++++++++++++
Test Date: 06/08/2015
Build Number:
Test Status: Completed (Passed Testing)

Clients Tested :
     i2b2 Web Client

Environments Tested :
     Browsers: Chrome, Firefox, Internet Explorer, and Safari
     Databases: Not applicable for this test
     Client OS: Windows

Test Comments:
Tested with the latest web client build and it appears to be working correctly. Temporal queries will now print even if a population is not defined.

Participant/s:

 Description   
In the i2b2 Web Client, temporal queries will not print unless a population is defined. If no terms are added to a panel in the "Population in which events occur" tab then following message will display to the user:

"Currently no query is available for printing.
Please generate a query before clicking on [Print Query] button."


Once you add an item to a panel in "Population in which events occur" you will be able to print the query.

 Comments   
Comment by Janice Donahoe [ 20/May/15 ]
Mike, this is not working in IE. See testing notes for the exact error.
Comment by Janice Donahoe [ 18/Aug/15 ]
The fix for this issue was included in the 1.7.06 release.

i2b2 version 1.7.06 was released on August 12, 2015.
Generated at Thu May 06 21:05:26 UTC 2021 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.