Deletion of one time event fails with office 365
Brought to you by:
mguessan
Hi.
Using davmail 4.8.3, the deletion of a one-time event with no recipient fails, with and without the davmail.caldavRealUpdate set to true. The message is :
ErrorInvalidRecipients At least one recipient isn't valid., A message can't be sent because it contains no recipients
To delete the event, I have to restart davmail.
I use davmail v4.8.3 with thunderbird 52.5.0, lightning 5.4.5 and office 365.
Yes, I witnessed the same effect. Thunderbird responds with "MODIFICATION_FAILED", and the event status keeps appearing as "cancelled" on the server, while Thunderbird keeps bouncing the error when attempting to remove it.
My only remedy was to revert to v4.8.2, where this problem does not exist.
I can confirm the same behaviour. DavMail v4.8.3, Thunderbird 60 (nightly), on-prem exchange 2010. I created an event to try and test another problem (co-workers are complaining I'm sending meeting accepts every half an hour since updating)
MODIFICATION_FAILED
My error is a bit different, though:
Last edit: Michael Heyns 2018-03-12
Fixed in trunk
Released in 4.8.6
Hi,
I got the same error with verson 5.3.1.
Any ideas?
davmail.exchange.ews.EWSException: ErrorCalendarIsNotOrganizer User must be an organizer for CancelCalendarItem action.
request: <soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"><soap:header><t:requestserverversion version="Exchange2010_SP1"></t:requestserverversion></soap:header><soap:body><m:createitem messagedisposition="SendAndSaveCopy" sendmeetinginvitations="SendToAllAndSaveCopy"><m:saveditemfolderid><t:distinguishedfolderid id="user-content-sentitems"></t:distinguishedfolderid></m:saveditemfolderid><m:items><t:cancelcalendaritem><t:referenceitemid id="user-content-AAMkADlhNzVjOTRmLWZjZTMtNDRiZC1hZjIyLTAyM2JkZjk2YjVhYgBGAAAAAABDVw4R55ZRS7M0g83rZVtmBwBh8DzYHGEZQZ66JLBfPjpbAAAAQA9TAACYP7ckP8VIRqU9DEZHmTqiAAAGLkejAAA=" changekey="DwAAABYAAACYP7ckP8VIRqU9DEZHmTqiAAAGMNyM"></t:referenceitemid></t:cancelcalendaritem></m:items></m:createitem></soap:body></soap:envelope>
at davmail.exchange.ews.EWSMethod.checkSuccess(EWSMethod.java:778)
at davmail.exchange.ews.EwsExchangeSession.internalExecuteMethod(EwsExchangeSession.java:2958)
at davmail.exchange.ews.EwsExchangeSession.executeMethod(EwsExchangeSession.java:2922)
at davmail.exchange.ews.EwsExchangeSession.deleteItem(EwsExchangeSession.java:2593)
at davmail.caldav.CaldavConnection.handleFolderOrItem(CaldavConnection.java:304)
at davmail.caldav.CaldavConnection.handleRequest(CaldavConnection.java:235)
at davmail.caldav.CaldavConnection.run(CaldavConnection.java:178)
DavMail tries to cancel an event that you do not own. Is this event in a shared calendar ?
If yes this is fixed in trunk
If not there is something else => need to understand the error in event owner detection.
Hei,
It's not a shared calendar and the error came up with all version down to 4.8.6. so I check the setup for the calendar in Thunderbird. I doulbe checked the instructions (http://davmail.sourceforge.net/thunderbirdcalendarsetup.html) and found that I had an alias of the email address in the position of " mail@company.com ". Deleting the old calendar setup and setting up a new calendar with the correct account name fixed the problem. Just weird that it worked before with alle the outher interactions but started to give a problem after I got an event retraction / cancelation sent and tried to accept it.
Thanks for your concerns and help.
On older DavMail versions we simply deleted events on DELETE. Now we try to detect meeting deletions to trigger a cancel event instead. In your case somehow the detection failed to recognize that the meeting owner was someone else.