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

[stable28] fix(dav): allow multiple organizers if possible #42373

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 was referenced Dec 21, 2023
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 <[email protected]>
@st3iny st3iny force-pushed the backport/42339/stable28 branch from 3d27d64 to f38ce5c Compare January 2, 2024 10:54
@st3iny st3iny added the 4. to release Ready to be released and/or waiting for tests to finish label Jan 2, 2024
@st3iny st3iny merged commit 32dccaa into stable28 Jan 2, 2024
50 checks passed
@st3iny st3iny deleted the backport/42339/stable28 branch January 2, 2024 12:47
@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