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
Mark canceled Outlook events as having status=cancelled. #218
Comments
That seems like an Outlook bug. I'd rather report it to them first. Could you provide some repro steps so I can repro on my own Outlook calendar, then submit to them? If it gets marked as "won't fix" or something, then I'd be happy to consider a workaround fix like yours |
That's why there are standards that clearly define how things should be done. RFC5545 clearly states that cancelled should be the only valid version.
Setting status = cancelled moves the event to the calendar's recycle bin, so that's basically the same as removing it. I assume that's the same for outlook and gcal, which is why outlook is not setting the status property. Could you share the definition of the example event from above (open the *.ics in a text editor)? I'm pretty sure there's a outlook specific property to mark it as cancelled. |
Thanks for the quick eyes on this! Here's a censored version of the above event:
I think this may typically happen for situations where the recurring event is canceled, but the individual instances are not themselves canceled. On the Outlook UI there's a button that says "Remove events" (or maybe it was "Remove series") in these situations – so I think it's an "intentional product feature" from their end that "canceled" events aren't really canceled, since they don't seem to want them to go to the recycling bin until the user sends them there. Speaking of, I think this might be the root/parent recurring event:
But nothing jumps out to me as being relevant. I tried "reporting" this issue here but based on the non-response to some ~related messages, I don't anticipate a response from Microsoft. |
Events that are canceled in outlook do not use the "cancelled" status in iCal format, eg;
will have
STATUS:CONFIRMED
in the iCal event, so they show up like a normal event in Google Calendar:which means they send notifications as if the event were still happening.
However, the event's summary will be prefixed with the text
Canceled:
Additionally, it is possible that some event producers use the spelling "canceled" while Google Calendar requires the status to be spelled "cancelled" (both are valid english).(nevermind, since this would violate the spec as you mentioned).I made the following code change in my instance to address this, but it's possible that only the latter change is really needed:
Alternatively, the canceled events could simply be removed from the new calendar.
I think this can get complicated when a recurring event is cancelled (I'm not really sure how that works).
Happy to put up a PR for this if you like.
The text was updated successfully, but these errors were encountered: