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

[stable27] fix: don't return null for SharedStorage::getWrapperStorage with share recursion #44415

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Mar 22, 2024

Backport of PR #44132

…e recursion

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@backportbot backportbot bot added bug 3. to review Waiting for reviews labels Mar 22, 2024
@backportbot backportbot bot added this to the Nextcloud 27.1.8 milestone Mar 22, 2024
// this is probably because some code path has caused recursion during the share setup
// we setup a "failed storage" so `getWrapperStorage` doesn't return null.
// If the share setup completes after this the "failed storage" will be overwritten by the correct one
$this->logger->warning('Possible share setup recursion detected');

Check notice

Code scanning / Psalm

DeprecatedMethod Note

The method OCP\ILogger::warning has been marked as deprecated
@sorbaugh sorbaugh merged commit bc73ac6 into stable27 Mar 25, 2024
35 of 37 checks passed
@sorbaugh sorbaugh deleted the backport/44132/stable27 branch March 25, 2024 14:32
@skjnldsv skjnldsv mentioned this pull request Mar 28, 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 bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants