Skip to content

[stable31] fix(cache): filter out invalid entries in OC\Files\Cache\Wrapper\CacheWrapper::getFolderContentsById#58285

Merged
susnux merged 1 commit intostable31from
fix/31-cache-content
Feb 17, 2026
Merged

[stable31] fix(cache): filter out invalid entries in OC\Files\Cache\Wrapper\CacheWrapper::getFolderContentsById#58285
susnux merged 1 commit intostable31from
fix/31-cache-content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Feb 12, 2026

Summary

See e.g. ACLCacheWrapper of groupfolders.
formatCacheEntry is allowed to return also false but getFolderContentsById must not.
So we need to filter out those invalid entries.

Checklist

@github-actions github-actions bot changed the title fix(cache): filter out invalid entries in OC\Files\Cache\Wrapper\CacheWrapper::getFolderContentsById [stable31] fix(cache): filter out invalid entries in OC\Files\Cache\Wrapper\CacheWrapper::getFolderContentsById Feb 12, 2026
@susnux susnux marked this pull request as ready for review February 16, 2026 13:58
@susnux susnux added bug 3. to review Waiting for reviews labels Feb 16, 2026
@susnux susnux requested review from a team, Altahrim, ArtificialOwl, CarlSchwan and provokateurin and removed request for a team February 16, 2026 13:59
@susnux
Copy link
Contributor Author

susnux commented Feb 16, 2026

/backport to master

@susnux
Copy link
Contributor Author

susnux commented Feb 16, 2026

/backport to stable33

@susnux
Copy link
Contributor Author

susnux commented Feb 16, 2026

/backport to stable32

…heWrapper::getFolderContentsById`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/31-cache-content branch from bb58e47 to 64034f8 Compare February 17, 2026 12:11
@susnux
Copy link
Contributor Author

susnux commented Feb 17, 2026

(removed the now unneeded entry from psalm baseline)

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.

3 participants