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

fix: pass user and shared params when checking for cache keys (backport #26402) #26404

Merged
merged 1 commit into from May 13, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 10, 2024

User specific cache for redis_cache decorator was not working.

When checking for cache key existence, the user and shared params were not being passed to the exists function.

cc: @ankush


This is an automatic backport of pull request #26402 done by Mergify.

* fix: pass user and shared params when checking for cache keys

* chore(test): added test for user cache in redis_cache

(cherry picked from commit fb2753f)
@mergify mergify bot requested a review from a team as a code owner May 10, 2024 12:50
@mergify mergify bot requested review from akhilnarang and removed request for a team May 10, 2024 12:50
@ankush ankush merged commit a0eb7c1 into version-15-hotfix May 13, 2024
18 checks passed
@ankush ankush deleted the mergify/bp/version-15-hotfix/pr-26402 branch May 13, 2024 08:04
frappe-pr-bot pushed a commit that referenced this pull request May 14, 2024
# [15.27.0](v15.26.0...v15.27.0) (2024-05-14)

### Bug Fixes

* allow navigating to `Table MultiSelect` fields using tab ([496ae05](496ae05))
* cache github release data per bench (backport [#26382](#26382)) ([#26387](#26387)) ([6e8ef85](6e8ef85))
* **document_follow:** `following` was treated as a string not a boolean ([e0ecfc6](e0ecfc6))
* Increase folder link field size ([#26381](#26381)) ([#26384](#26384)) ([52c335c](52c335c))
* **integrations:** add back `response.raise_for_status()` ([13182e4](13182e4))
* make rename_doc work pre_model_sync ([#26419](#26419)) ([2db51ea](2db51ea))
* pass user and shared params when checking for cache keys ([#26402](#26402)) ([#26404](#26404)) ([a0eb7c1](a0eb7c1))

### Features

* functionality to assign users by user group ([#26044](#26044)) ([#26432](#26432)) ([c308931](c308931))

### Performance Improvements

* Don't update session in cache after every request ([#26308](#26308)) ([#26362](#26362)) ([c0ba12c](c0ba12c))
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 15.27.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants