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

[stable26] Catch more invalid cache source storage paths #39726

Merged
merged 2 commits into from Sep 5, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

Backport of #39698

joshtrichards and others added 2 commits August 5, 2023 22:04
OC\Files\Cache\Cache::get can return string|false|null, not just string|false.

- #26270 added handling of false, but null is needed too.
- Well, or we change the default $resullt to false, but I'm not sure if that has other ramifications and the real need here is to simply catch situations where the cache source storage path is not valid for whatever reason

Related: #19009

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Co-authored-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 26.0.5 milestone Aug 5, 2023
@solracsf solracsf added the 3. to review Waiting for reviews label Aug 6, 2023
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 6, 2023
@blizzz blizzz mentioned this pull request Sep 5, 2023
@blizzz blizzz merged commit f7d890c into stable26 Sep 5, 2023
36 of 37 checks passed
@blizzz blizzz deleted the backport/39698/stable26 branch September 5, 2023 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants