[WEBCLIENT-132] Demographics (1 patient set) plugin Created: 17/Jul/15 Updated: 25/Jan/16 Resolved: 02/Dec/15 |
|
Status: | Closed |
Project: | i2b2 Web Client |
Component/s: | Plug-ins |
Affects Version/s: | 1.7.05 |
Fix Version/s: | 1.7.07 |
Type: | Bug | Priority: | Major |
Reporter: | Timothy I. Kennell Jr. | Assignee: | Nich |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: | Ubuntu 14.04.2 LTS Server version and CentOS Server 6.6 provided as pre-built VM on i2b2 Software page. |
Affects View/s: |
Analysis View
|
i2b2 Sponsored Project/s: |
i2b2 Web Client
|
Affects Web Browser/s: |
Chrome, Firefox, Internet Explorer
|
Participant/s: |
Description |
Results are not being calculated appropriately causing no graph to show patient statistics. Likely cause is line 125 of Dem1Set_ctrlr.js at i2b2.Dem1Set.model.sumCounts = eval("("+hData.toJSON()+")");. Display can be rectified with i2b2.Dem1Set.model.sumCounts = eval("("+hData.toJSON+")"); or i2b2.Dem1Set.model.sumCounts = JSON.stringify(hData);; however, this still does not allow the table to display, only the patient number statistics above the table will be displayed.
|
Comments |
Comment by Christopher Cope [ 02/Nov/15 ] |
It looks like this is due to upgrading the Prototype version. The new version just aliases toJSON to toObject.
I've managed to fix the problem completely by manually doing the toJSON using Prototype's old way: i2b2.Dem1Set.model.sumCounts = eval("("+Object.toJSON(hData.toObject())+")"); BTW Timothy, this should get the table to display if you're still having that problem. |
Comment by Janice Donahoe [ 25/Jan/16 ] |
On 01/22/2016, the 1.7.07 Release was made available at the following locations.
https://www.i2b2.org/software/ - zip files for release 1.7.07 are available on this site. This includes both the code and documentation. https://github.com/i2b2 - source code has been tagged with v1.7.07. |