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

Temporal queries do not print unless a population is defined

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.05
    • Fix Version/s: 1.7.06
    • Component/s: Web Client
    • Labels:
      None
    • 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:
      Hide
      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.

      Show
      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:
      Hide
      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.

      Show
      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.

      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.

        Attachments

          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