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

log error when default getWrapperStorage would return null #44357

Merged
merged 2 commits into from
Mar 22, 2024

Conversation

icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Mar 20, 2024

and return a FailedStorage instead of null.

This should hopefully make things more resistant against wrapper issues.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Mar 20, 2024
@icewind1991 icewind1991 added this to the Nextcloud 29 milestone Mar 20, 2024
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, Fenn-CS and sorbaugh and removed request for a team March 20, 2024 13:11
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 changed the title fix: make StorageWrapper::instanceOfStorage more resilient against mi… log error when default getWrapperStorage would return null Mar 20, 2024
Signed-off-by: Robin Appelman <robin@icewind.nl>
@Altahrim Altahrim mentioned this pull request Mar 20, 2024
@icewind1991
Copy link
Member Author

/backport to stable28

@icewind1991
Copy link
Member Author

/backport to stable27

@skjnldsv skjnldsv merged commit fb97d55 into master Mar 22, 2024
168 checks passed
@skjnldsv skjnldsv deleted the wrapper-instanceof-resiliant branch March 22, 2024 19:43
@Altahrim Altahrim mentioned this pull request Mar 25, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants