lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
246 stars 17 forks source link

15396225: EKParticipant's isCurrentUser flag does not work for attendees, only organizer #4255

Open openradar-mirror opened 9 years ago

openradar-mirror commented 9 years ago

Description

When inspecting EKEvent objects, and getting the list of attendees, the EKParticpant's isCurrentUser never work.

For the organizer, if the organizer is the current user, it does work, but that's often not helpful enough.

Steps to Reproduce:

  1. Make any sample event kit application for iOS
  2. Using a google email account (I haven't tried with other accounts), make sure that is set up to be one of the calendars on your phone.
  3. Create an event from google calendar.
  4. From any different account, invite that calendar to an event.
  5. In the iOS app, retrieve the EKEvent objects for those two events.
  6. Go through the attendees array
  7. Notice, the isCurrentUser is not set for any attendees.
  8. Look at the organizer
  9. Notice the organizer for the event you created has isCurrentUser = YES

Expected Results: Expected the participant that is you to have the isCurrentUser flag set.

Actual Results: The participant does not have the isCurrentUser flag set

Product Version: 7.0.2 Created: 2013-11-05T19:59:44.679204 Originated: 2013-11-05T00:00:00 Open Radar Link: http://www.openradar.me/15396225

SeanChense commented 8 years ago

Maybe there is some mistake. See http://stackoverflow.com/a/37295924/3683845