-
Notifications
You must be signed in to change notification settings - Fork 122
Calendar Filter crash #2938
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar Filter crash #2938
Conversation
refs: MBL-17976 affects: Student, Teacher release note: none
refs: MBL-17976 affects: Student, Teacher, Parent release note: none
Affected Apps: Student, Teacher, Parent
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Sorry, is this an approval? Did you also test them? |
No haven't QA tested it. Need some time. |
Sure, no worries, take your time. I just wasn't sure which stage is it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA +1
refs: MBL-17976
affects: Student, Teacher, Parent
release note: none
Because it was not reproducible, this is a best effort attempt to fix the crash during CalendarFilter load.
Problem
CDCalendarFilterEntry
is sometimes stored without a valid contextID, which results in a crash while force unwrappingCDCalendarFilterEntry.context
. We assume that this may be a result of some old ID format which we are not aware of, but still used in some accounts.What's changed
save
are logged as errors:"CDCalendarFilterEntry save failed with invalid contextId"
Context
init are logged as errors:"Context created with invalid contextId"
ID
inits (failing to decode asInt
orString
) are logged as errors:"Empty ID decoded from unhandled data"
Test Plan
Smoke test Calendar Filters in all 3 apps.
Checklist