Uh oh!
There was an error while loading. Please reload this page.
fix(dav): allow multiple organizers if possible - #42339
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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>
a906cff to
06aba2aCompare| throw $e; | ||
| } | ||
| $addresses = $this->getAddressesForPrincipal($calendarNode->getOwner()); |
Check notice
Code scanning / Psalm
PossiblyNullArgument
miaulalala
left a comment
There was a problem hiding this comment.
Looks fine to me. Psalm isn't happy :)
st3iny
commented
Dec 19, 2023
/backport to stable28 |
st3iny
commented
Dec 19, 2023
/backport to stable27 |
st3iny
commented
Dec 19, 2023
/backport to stable26 |
gohrner
commented
Jan 18, 2024
@st3iny: Regarding:
Did you file an CR for SabreDAV to adjust this and get their feedback? |
Summary
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.
I'm not very comfortable touching scheduling code so please have a good look. I can provide test ICS files if necessary.
TODO
Checklist