Skip to content
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

[stable26] fix(dav): allow multiple organizers if possible #42376

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

backportbot-nextcloud[bot]
Copy link

Backport of #42339

throw $e;
}

$addresses = $this->getAddressesForPrincipal($calendarNode->getOwner());

Check notice

Code scanning / Psalm

PossiblyNullArgument Note

Argument 1 of OCA\DAV\CalDAV\Schedule\Plugin::getAddressesForPrincipal cannot be null, possibly null value provided
This is very hacky! However, we want to allow saving events with multiple
organizers. Those events are not RFC compliant, but sometimes imported from major
external calendar services (e.g. Google). If the current user is not an organizer of
the event we ignore the exception as no scheduling messages will be sent anyway.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
@st3iny st3iny force-pushed the backport/42339/stable26 branch from aa3aa81 to de3d390 Compare January 2, 2024 10:56
@st3iny st3iny added the 4. to release Ready to be released and/or waiting for tests to finish label Jan 2, 2024
@ChristophWurst ChristophWurst merged commit 8f69467 into stable26 Jan 2, 2024
36 of 37 checks passed
@ChristophWurst ChristophWurst deleted the backport/42339/stable26 branch January 2, 2024 13:07
@blizzz blizzz mentioned this pull request Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: caldav Related to CalDAV internals feature: dav
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants