Open bledsoef opened 3 months ago
@Ndiayem14 and I are working on this issue
We are working on this problem to see how to fix it.
@bledsoef HoursEarned is None if a participant volunteers in a 'no-hours-earning' event (e.g. empty bowls), and a number in an 'hours-earning-event (e.g. tutoring).
We don't think there's an issue. What do you think?
Low priority issue, leave for summer cohort
The
EventParticipant
model having a nullablehoursEarned
field is old functionality leftover from whenEventParticipant
andEventRsvp
were the same table. There really shouldn't be a case when their hours earned isNone
, at the very least it should only be 0. We need to change the following:EventParticipant
model'shoursEarned
fieldhoursEarned
is set to 0hoursEarned
to be None (at least one is in test_spreadsheethoursEarned
values