Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.05
    • 1.7.07
    • Plug-ins
    • None
    • Ubuntu 14.04.2 LTS Server version and CentOS Server 6.6 provided as pre-built VM on i2b2 Software page.
    • Analysis View
    • i2b2 Web Client
    • Chrome, Firefox, Internet Explorer

    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.

      Attachments

        Activity

          ccope Christopher Cope added a comment - - edited
          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.
          ccope Christopher Cope added a comment - - edited 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.
          jmd86 Janice Donahoe added a comment - - edited
          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.
          jmd86 Janice Donahoe added a comment - - edited 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.

          People

            nich Nich
            tikenn Timothy I. Kennell Jr.
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: