mirror of
https://github.com/aluxnimm/outlookcaldavsynchronizer.git
synced 2026-04-25 11:05:56 +03:00
[GH-ISSUE #240] SameOrganizerForAllComponentsException #232
Labels
No labels
1.0
1.0
1.0
2.0
Feature
Feature request
Google
Google Calendar
async
attachement
auto-migrated
auto-migrated
auto-migrated
bug
critical
enhancement
help wanted
implemented
pull-request
solved
solved
sourceforge
sourceforge
sourceforge
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/outlookcaldavsynchronizer#232
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maybeec on GitHub (Sep 21, 2018).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/240
Latestly, I get an SameOrganizerForAllComponentsException on each synchronization of an existing series, which has not been changed in the last months. The sync is configured with Outlook -> Server only. So there should be no "conflicts" at all.
Exception:
I am running the latest Nextcloud stable and Outlook 365.
@aluxnimm commented on GitHub (Sep 21, 2018):
And does Outlook show different organizers for some events in the series? Somehow Outlook changes that field in rare circumstances. Check the ics file of that event.
@maybeec commented on GitHub (Sep 21, 2018):
How can I check the organizers? The appointment is three times a week and runs already over a year ;) Do you know any shortcut rather then trying to go through every occurrence? The organizer maybe changes as of AD update of the organizer contact? I don't think of any other reason, but it maybe there is a way to be stable against such changes.
@aluxnimm commented on GitHub (Sep 21, 2018):
Can you export the whole series as ics file and check the organizer field in there?
@maybeec commented on GitHub (Sep 21, 2018):
Server Item:
For any reason, there is a LF after @ (most probably because of line max limit of ics format?) but it is also followed by a single whitespace in the next line! I don't know where this comes from.
However, the local item looks like that:
ORGANIZER;CN="Surname, Forename":mailto:forename.surname@company.com@aluxnimm commented on GitHub (Sep 21, 2018):
That's the line folding from the ICS format, yes. So it looks the same for every instance in the series? So the only difference is SCHEDULE-AGENT? Try to change that option Set SCHEDULE-AGENGT=CLIENT in the event mapping configuration and see if that changes anything?
@maybeec commented on GitHub (Sep 24, 2018):
I enabled the option
Set SCHEDULE-AGENGT=CLIENT, but without success, the error continues occurring on every sync attempt.@aluxnimm commented on GitHub (Sep 24, 2018):
And really no different organizer in any of the single events of the recurrence? Can't be, because the error says that "Every instance of the event must have the same organizer."
@maybeec commented on GitHub (Sep 24, 2018):
yes, but how can I assure / check that? Bascially, there are thousands occurrences already. I cannot click through all of them and the exported series ics does not show different organizers.
@maybeec commented on GitHub (Oct 6, 2018):
Now I start to have it with an additional series appointment as well, which I added about one month ago.
My observation is, that it starts so synchronize occurrences from the future, which have not yet been synchronized as of the synchronization window configured in outlookcaldavsynchronizer. For some reason afterwards added occurrences seem to not match the organizer anymore although I cannot see any change. Here one example of such synchronization:
@aluxnimm commented on GitHub (Oct 8, 2018):
So if you remove the time filtering and use for example WebDAV collection sync instead it doesn't occur?
@maybeec commented on GitHub (Oct 9, 2018):
Seems to work, thanks!!!
What is the difference here? I saw, that I am not able anymore to specify a sync range. So will that upload/sync whatever is available?
@aluxnimm commented on GitHub (Oct 9, 2018):
Yes this is a different approach, see https://tools.ietf.org/html/rfc6578
A sync token is used to send only the delta since the last sync, which saves bandwith, but can't be combined with a timerange since this uses a different query.
But we should investigate the organizer and the timerange window in more detail to reproduce your bug.
@maybeec commented on GitHub (Oct 10, 2018):
Now it starts again for one of the appointments to run into the same issue again :(.
The other is fine for now.
@nertsch commented on GitHub (Oct 10, 2018):
There must be one exception in Outlook which has a different Organizer.
Finding this out can be done in a few minutes with the following steps:
br
Gerhard
@maybeec commented on GitHub (Oct 11, 2018):
Ok did it.
First: The result is a successful synchronization with the file system with multiple warnings of "invalid email address Uri" for basically multiple appointments.
Second: I searched for the errorneous synchronized series appointment running into errors at my original sync job. I do not really understand the syntax/semantics of ics format, but here is what I observed. There are three different organizers, which are the same person.
1.
@maybeec commented on GitHub (Nov 29, 2018):
Any news on that? Maybe it's anything related to the Nextcloud 13.0.8 version? It starts with Nextcloud 13.0.7 or Nextcloud 13.0.6 as far as I know. But I am not sure, whether there was an update of outlookcaldavsynchronizer as well in between.
@aluxnimm commented on GitHub (Nov 30, 2018):
Seems related to #244
The invalid uri leads to an organizer without email which isn't the same as the original one and that causes the SameOrganizerForAllComponentsException.
So the problem lies in fetching the correct mail from an exchange/AD account in some cases.
Would need an AD test account for that to reproduce.
@aluxnimm commented on GitHub (Nov 30, 2018):
Latest commit should fix the exception
8ec7cc43fdWe just force the organizer to be the same.
Still the issue with the invalid mail uris needs to be solved.
@maybeec commented on GitHub (Dec 6, 2018):
👍 waiting for a release to provide you feedback. Thanks.
@maybeec commented on GitHub (Dec 10, 2018):
seems to work for now.