Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.06
-
None
-
Query Tool
-
Constraints - Date
-
i2b2 Web Client
-
All databases
-
All Web Browsers
-
1.7.07.0005
Description
When you run a query in the workbench with a date constraint, these constraints are not maintained when you use the query in the Web Client. The date constraints do appear in the xml received when the item is dropped but they do not appear in the panel next to the item name. If you run the query it will not have the date constraints in the sent xml. Also if you go into the date constraint window the dates will not appear.
IMPORTANT: This issue is also a problem in the Workbench.CORE-191 has been entered to address this issue.
IMPORTANT: This issue is also a problem in the Workbench.
Attachments
Issue Links
- related to
-
CORE-191 Date Constraints lost in workbench when executing a query created in webclient
-
- Closed
-
Activity
Fix Version/s | 1.7.07 [ 10203 ] | |
Reproduction Notes |
This can be reproduced in both the i2b2 demo and test environments.
As the description states the date constraints are in the xml that is returned when the previous query is dropped into the query tool but it is not updating the constraints in the Date Constraint window. As a result when the query is run there are no date constraints defined in the new query. STEPS TO REPRODUCE: 1. Log into the Workbench. 2. Drag a concept to the Query Tool and add a date constraint. 3. Run the query. 4. Log into the Web Client. 5. In Previous Queries, identify the query you just ran in the Workbench. 6. Drag it to the Query Tool. 7. Notice the "Date" button does not have an underline, indicating it has a date constraint. 8. Open the Date Constraint window and notice the dates defined on the original query do not appear. 9. Click on Cancel to close the Date Constraint window. 10. Look at the XML message received when the query was dropped in the Query Tool, you will notice the correct date constraints are included in the message. 11. Run the query. 12. Look at the request xml that was sent when running the query and notice there are no date constraints defined in the xml. |
|
Assignee | Nich [ nich ] | |
Description |
When you run a query in the workbench with a date constraint, these constraints are not maintained when you use the query in the Web Client. The date constraints do appear in the request xml but they do not appear in the panel next to the item name. If you run the query it will not have the date constraints in the sent xml. Also if you go into the date constraint window the dates will not appear.
IMPORTANT: This issue is also a problem in the Workbench. |
When you run a query in the workbench with a date constraint, these constraints are not maintained when you use the query in the Web Client. The date constraints do appear in the xml received when the item is dropped but they do not appear in the panel next to the item name. If you run the query it will not have the date constraints in the sent xml. Also if you go into the date constraint window the dates will not appear.
IMPORTANT: This issue is also a problem in the Workbench. |
i2b2 Sponsored Project/s | i2b2 Web Client [ 10197 ] | |
Status | New [ 10000 ] | Open [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 1.7.08 [ 10205 ] | |
Fix Version/s | 1.7.07 [ 10203 ] |
Status | In Progress [ 3 ] | Open [ 1 ] |
Fix Version/s | 1.7.07 [ 10203 ] | |
Fix Version/s | 1.7.08 [ 10205 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Assignee | Nich [ nich ] | Janice Donahoe [ jmd86 ] |
Status | In Progress [ 3 ] | Ready to Test [ 10001 ] |
Status | Ready to Test [ 10001 ] | Testing [ 10002 ] |
Build Number/s (Testing) | 1.7.07.0005 | |
Testing Notes |
TEST STATUS: Completed
COMPLETION DATE: 12/15/2015 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test Date: 12/15/2015 Build Number: 1.7.07.0005 Test Status: Completed (Passed Testing) Clients Tested : i2b2 Web Client i2b2 Workbench 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. Queries with date constraints that were initially run in the Workbench will now run in Web Client with no problem. ISSUES FOUND: A issue was found but it is related to a new feature that adds date constraints to the item level ( |
|
Status | Testing [ 10002 ] | Testing [ 10002 ] |
Testing Notes |
TEST STATUS: Completed
COMPLETION DATE: 12/15/2015 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test Date: 12/15/2015 Build Number: 1.7.07.0005 Test Status: Completed (Passed Testing) Clients Tested : i2b2 Web Client i2b2 Workbench 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. Queries with date constraints that were initially run in the Workbench will now run in Web Client with no problem. ISSUES FOUND: A issue was found but it is related to a new feature that adds date constraints to the item level ( |
TEST STATUS: Completed
COMPLETION DATE: 12/15/2015 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Test Date: 12/15/2015 Build Number: 1.7.07.0005 Test Status: Completed (Passed Testing) Clients Tested : i2b2 Web Client i2b2 Workbench Environments Tested : Browsers: Chrome, Firefox, Internet Explorer, and Safari Databases: Not applicable for this test Client OS: Windows and Macintosh (Release 1.7.06) Test Comments: Tested with the latest Web Client build and it appears to be working correctly. Queries with date constraints that were initially run in the Workbench will now run in Web Client with no problem. ISSUES FOUND: A issue was found but it is related to a new feature that adds date constraints to the item level ( |
Status | Testing [ 10002 ] | Testing [ 10002 ] |
Build Number (Fixed) | 1.7.07.0005 | |
Resolution | Fixed [ 1 ] | |
Status | Testing [ 10002 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
The webclient constructs the following XML:
<panel> ...
<panel_date_from>1979-12-01T00:00:00.000-05:00</panel_date_from>
<panel_date_to>2005-12-07T00:00:00.000-05:00</panel_date_to>
The workbench constructs the following XML:
<panel> ...
<item>
<constrain_by_date>
<date_from>1979-12-01T00:00:00-05:00</date_from>
<date_to>2005-12-07T00:00:00-05:00</date_to>
</constrain_by_date>
For previous queries, the webclient only reads <panel><panel_date_from>, and the workbench only reads <panel><item><constrain_by_date><date_from>