Changes between Initial Version and Version 1 of Ticket #496, comment 2


Ignore:
Timestamp:
May 29, 2013, 11:08:13 AM (9 years ago)
Author:
olle
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #496, comment 2

    initial v1  
    55 1. Cells in columns for time periods before the start date of the site was only correct for the year view, otherwise some cells were initialized to 0 and some to an empty string, depending on the time period in the year for the cell and the start date. Especially the week view showed odd cell initialization for weeks near the start and end of a year (see more detailed description below). The cell data initialization is performed in !JavaScript function `addDataRowsToTable(report, reportTable)` in JSP file `samplereportgenerator.jsp` in `reggie/resources/reports/`.
    66 2. Cells for percentage values showed "`NaN%`" instead of "`0%`", which could be traced to a bug in !JavaScript function `getJSONDataWithPercent(jsonObject, key, sumKey, numDecimals)` in JSP file `samplereportgenerator.jsp` in `reggie/resources/reports/`.
    7  3. The overview table of detailed patient data contained "`undefined`" instead of "`0`" in the sum column cells for sites without data. This is caused by data for JSON key "`sumKey`" not being properly initialized in private method `JSONObject createOverviewReport(DbControl dc, JSONObject json, Date startDate, Date endDate)` in `servlet SampleReportServlet` in `reggie/src/net/sf/basedb/reggie/servlet/`.
     7 3. The overview table of detailed patient data contained "`undefined`" instead of "`0`" in the sum column cells for sites without data. This is caused by data for JSON key "`sumKey`" not being properly initialized in private method `JSONObject createOverviewReport(DbControl dc, JSONObject json, Date startDate, Date endDate)` in servlet `SampleReportServlet` in `reggie/src/net/sf/basedb/reggie/servlet/`.
    88
    99Problem with comparing ISO week numbers: