1615 tracked down a situation where the individual project view can fail when a timecard object has None for the hours_spent field. This is uncommon, but does happen in our production data.
This fixes that situation by filling with Nones in the data frame with zeroes which is the more common case for our data.
There is a failing test case that fails without the fix and passes with this change.
Description
1615 tracked down a situation where the individual project view can fail when a timecard object has
None
for thehours_spent
field. This is uncommon, but does happen in our production data.This fixes that situation by filling with
None
s in the data frame with zeroes which is the more common case for our data. There is a failing test case that fails without the fix and passes with this change.