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 #26402
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
add-test-cases
Add test case to validate fix or enhancement
label
May 10, 2024
ankush
added
backport version-14-hotfix
backport to version 14
backport version-15-hotfix
Backport the PR to v15
and removed
add-test-cases
Add test case to validate fix or enhancement
labels
May 10, 2024
mergify bot
pushed a commit
that referenced
this pull request
May 10, 2024
* 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) # Conflicts: # frappe/tests/test_caching.py # frappe/utils/caching.py
mergify bot
pushed a commit
that referenced
this pull request
May 10, 2024
* 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)
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
pushed a commit
that referenced
this pull request
May 22, 2024
# [14.75.0](v14.74.1...v14.75.0) (2024-05-22) ### Bug Fixes * "Not assigned" filter (backport [#26468](#26468)) ([#26469](#26469)) ([6bb3534](6bb3534)) * condition of event participants ([#26300](#26300)) ([#26455](#26455)) ([d940902](d940902)) * **contact list:** add space before designation ([a67ebab](a67ebab)) * Don't fiddle with child table indexes ([#26450](#26450)) ([#26452](#26452)) ([d0d6d93](d0d6d93)) * **DX:** Don't run CI if there are no tests (backport [#26457](#26457)) ([#26465](#26465)) ([d129c01](d129c01)) * enable fetch_from for Time fieldtype ([#25266](#25266)) ([#26471](#26471)) ([#26485](#26485)) ([9cd3bf6](9cd3bf6)) * **grid_row:** don't crash when undefined ([0f91073](0f91073)) * Ignore link doctype in comments ([#26484](#26484)) ([910d4a7](910d4a7)) * pass user and shared params when checking for cache keys ([#26402](#26402)) ([#26403](#26403)) ([30799f7](30799f7)) * preserve checked items after a search ([ae9cdd2](ae9cdd2)) ### Features * what's new (v15 port of [#21014](#21014)) (backport [#25986](#25986)) ([#26494](#26494)) ([6a561d9](6a561d9)) ### Performance Improvements * num2words, babel, gettext, sentry imports (backport [#26475](#26475)) ([#26476](#26476)) ([ea873fd](ea873fd))
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User specific cache for
redis_cache
decorator was not working.When checking for cache key existence, the
user
andshared
params were not being passed to theexists
function.cc: @ankush