New Attendance Block in v15 fails to record non-attendees non-attendance #5473
Labels
Fixed in v15.1
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Please go through all the tasks below
Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.
When marking attendance on the new attendance entry block, you mark those who have attended. After you are done marking attendance, if you go look at the % attended for the date you just marked attendance for on the group attendance list, it will show 100% no matter how many people you mark as attended.
In researching the issue, the new block only writes attendance records for those people you check. Previously, the system would write attendance records for all group members and use the field DidAttend to determine who was in attendance and who was not.
After marking attendance if you run SQL: select * from Attendance where OccurrenceId=78654 where the OccurrenceId is for the date you just entered attendance, you will see there are now only DidAttend=1 records and not records for every group member. If you go back into the Attendance Entry and remove a person, the system properly changes the person to DidAttend=0 and the percentage drops below 100%. The only way to get an accurate percentage currently is to mark everyone as present, then unmark those who didn't attend.
Expected Behavior
The percent Attended should reflect the percentage of those who attended against the number of group members in the group at the time of the meeting. In my example above, I have 3 group members, therefore the percentage should be 33%.
Actual Behavior
The percent attended is being calculated based on how many records are selected divied by the maximum number of records that had been selected since the creation of the attendance entry. If you go back and uncheck a person, or add more people then remove them, the attendance Percent will change.
Steps to Reproduce
Rock Version
15.0 (1.15.0.16)
Client Culture Setting
en-us
The text was updated successfully, but these errors were encountered: