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

Revert "[stable27] fix(files_versions): don't call getUid() on null" #41612

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Nov 20, 2023

Reverts #41553

It was merged too early: did not make it into RC1 of 27.1.4 RC1 and was rescheduled into 27.1.5.

@blizzz blizzz added the 3. to review Waiting for reviews label Nov 20, 2023
@blizzz blizzz added this to the Nextcloud 27.1.4 milestone Nov 20, 2023
return $this->rootFolder
->getUserFolder($owner->getUid())
->getUserFolder($node->getOwner()->getUid())

Check notice

Code scanning / Psalm

PossiblyNullReference Note

Cannot call method getUid on possibly null value
@blizzz blizzz merged commit 81e5453 into stable27 Nov 22, 2023
34 of 37 checks passed
@blizzz blizzz deleted the revert-41553-backport/41518/stable27 branch November 22, 2023 10:34
@blizzz blizzz mentioned this pull request Nov 20, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants