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

Handle unset owner in sharing #19936

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

nickvergessen
Copy link
Member

Follow up to https://github.com/nextcloud/server/pull/19424/files

My problem with this is the return type of the Note api is documented as IUser and not IUser|null, and I expect a lot more apps to fall into this pit.

Would it make sense to return the last mounted user as owner instead?

Signed-off-by: Joas Schilling <coding@schilljs.com>
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

🐘

This was referenced Apr 4, 2020
@nickvergessen nickvergessen merged commit 0bd7382 into master Apr 14, 2020
@nickvergessen nickvergessen deleted the bugfix/noid/handle-unset-owner-in-sharing branch April 14, 2020 18:34
@nickvergessen
Copy link
Member Author

/backport to stable18

@nickvergessen
Copy link
Member Author

/backport to stable17

@backportbot-nextcloud
Copy link

backport to stable18 in #20483

@backportbot-nextcloud
Copy link

backport to stable17 in #20484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants