[TIME-127] Timesheet dashboard gadget not displaying correctly
My TimeSheet gadget does not display properly on the dashboard, as it doesn't seem to be able to get the stylesheet information I think? It is throwing the following errors:
2011-01-05 16:51:12,283 http-8082-3 ERROR gerard 1011x30x4 - 192.168.32.25,192.168.32.25 /rest/timesheet-gadget/1.0/timesheet.json velocity Left side ($lastVelocityCount) of modulus operation has null value. Operation not possible. templates/timesheetportlet/timesheet-portlet.vm line 39, column 50
2011-01-05 16:51:12,283 http-8082-3 ERROR gerard 1011x30x4 - 192.168.32.25,192.168.32.25 /rest/timesheet-gadget/1.0/timesheet.json velocity Left side ( 2 ) of '!=' operation has null value. Operation not possible. templates/timesheetportlet/timesheet-portlet.vm line 39, column 55
2011-01-05 16:51:29,893 http-8082-2 WARN gerard 1011x31x1 19c4q9m 192.168.32.93,192.168.32.25 /secure/ConfigureReport.jspa velocity Warning! The iterative is an Enumeration in the #foreach() loop at 0,0 in template templates/timesheetreport/timesheet-report-project-totals.vm. Because it's not resetable, if used in more than once, this may lead to unexpected results.
2011-01-05 16:51:48,972 http-8082-2 ERROR gerard 1011x42x3 - 192.168.32.25,192.168.32.25 /rest/timesheet-gadget/1.0/timesheet.json velocity Left side ($lastVelocityCount) of modulus operation has null value. Operation not possible. templates/timesheetportlet/timesheet-portlet.vm line 39, column 50
2011-01-05 16:51:48,972 http-8082-2 ERROR gerard 1011x42x3 - 192.168.32.25,192.168.32.25 /rest/timesheet-gadget/1.0/timesheet.json velocity Left side ( 2 ) of '!=' operation has null value. Operation not possible. templates/timesheetportlet/timesheet-portlet.vm line 39, column 55
Any ideas?
By nsbgerard/Gerard Maguire on Thu, 6 Jan 2011 15:30:40 -0800
Comments (2)
-
reporter -
reporter - removed version
Removing version: 2.2.9 (automated comment)
- Log in to comment
It happens that you don't have any records, and so those ERROR message appears. I've just added minor fix to state it clearly and avoid confusion. Please close bug if you've found your problem or clarify the problem.
Please update you plugin.jar if interested, see also screen shot for example.
Committed revision 157076
By azhdanov on Fri, 7 Jan 2011 06:51:44 -0800