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

Fix: Make out of office replacement nullable #46273

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

hamza221
Copy link
Contributor

@hamza221 hamza221 commented Jul 3, 2024

Summary

Make $replacementUserId and replacementUserDisplayName nullable

Checklist

@hamza221 hamza221 added the 3. to review Waiting for reviews label Jul 3, 2024
@hamza221 hamza221 self-assigned this Jul 3, 2024
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎

Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it absolutely necessary to change this, given that it introduces two breaking changes of OCP and REST?

lib/public/User/IOutOfOfficeData.php Show resolved Hide resolved
apps/dav/openapi.json Outdated Show resolved Hide resolved
@provokateurin
Copy link
Member

Or am I missing something and the changes are not breaking because they have never been released so far?

@hamza221
Copy link
Contributor Author

hamza221 commented Jul 3, 2024

Or am I missing something and the changes are not breaking because they have never been released so far?

Yes it was never released

@provokateurin
Copy link
Member

Alright then, just need to properly generate the OpenAPI changes 👍

Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
@hamza221 hamza221 force-pushed the fix/make-ooo-replacement-nullable branch from b61c049 to 85a3b27 Compare July 3, 2024 10:32
@hamza221 hamza221 enabled auto-merge July 3, 2024 10:32
@hamza221 hamza221 merged commit 993424f into master Jul 3, 2024
165 checks passed
@hamza221 hamza221 deleted the fix/make-ooo-replacement-nullable branch July 3, 2024 13:03
@nickvergessen nickvergessen added the pending documentation This pull request needs an associated documentation update label Jul 18, 2024
@@ -76,14 +76,14 @@ public function getMessage(): string;
*
* @since 30.0.0
*/
public function getReplacementUserId(): string;
public function getReplacementUserId(): ?string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blizzz blizzz mentioned this pull request Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews pending documentation This pull request needs an associated documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants