Lovinity / wwsu

THIS PROJECT HAS BEEN MIGRATED TO GITLAB: https://gitlab.com/wwsu1069/wwsu
4 stars 1 forks source link

Unscheduled shows attendance problem #66

Closed Lovinity closed 5 years ago

Lovinity commented 5 years ago

If a show begins more than 10 minutes before its scheduled show time, it is considered unauthorized / unscheduled. This is expected behavior. However, an unexpected behavior occurred. For example, Men's Basketball, which was scheduled at 7PM, began at 645PM, which was beyond the 10-minute early grace, causing the system to label it as unscheduled. As a result, when the broadcast ended, not only did the system still label Men's Basketball as not having aired, but also the logs got assigned to the previous record (Hip Hop / R&B) instead of Men's Basketball.

Lovinity commented 5 years ago

Unable to locate the second bug at this time. Issue is on hold.

Lovinity commented 5 years ago

The bug was actually in createRecord in Logs.create; was trying to create logsubtype from calendar record, which does not exist. Should be creating from the event name parameter instead.