Closed kdovbush closed 10 months ago
Thanks for the report.
I'm kind of flying blind when it comes to attendees since I don't work with any kind of collaboration software and can't really generate good test cases.
Indeed, the code was simply using EKParticipant name
. I've changed it to check for nil and fall back to EKParticipant URL.resourceSpecifier
(email) or just a dummy string if that too is nil.
Can you check if this works?... https://itsycal.s3.amazonaws.com/Itsycal-0.15.2-issue-239-1.zip
Thanks for the quick response!
I have checked your fix and now everything works as expected.
Description:
If an event has attendees, and one of them doesn't have a name field, then the event details popup won't appear after clicking on the event cell.
Environment:
Steps to reproduce:
Expected behaviour:
The event details popup appears.
Actual behavior:
Nothing happens, but an assertion failure occurs in
AgendaViewController.m:1184
.Possible solution:
It turns out that the
name
property inEKParticipant
is nullable. Therefore, I believe it would be better to check if it's nil and, if so, use an alternative (for example, an email).