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
Map storage looks up ID via the session, that is no longer needed #12381
Labels
area/storage
Indicates an issue that touches storage (change in data layout or data manipulation)
kind/bug
Categorizes a PR related to a bug
status/triage
Milestone
Comments
ahus1
added
kind/bug
Categorizes a PR related to a bug
area/storage
Indicates an issue that touches storage (change in data layout or data manipulation)
team/storage-sig
status/triage
labels
Jun 7, 2022
ahus1
added a commit
to ahus1/keycloak
that referenced
this issue
Jun 7, 2022
ahus1
added a commit
to ahus1/keycloak
that referenced
this issue
Jun 8, 2022
ahus1
added a commit
to ahus1/keycloak
that referenced
this issue
Jun 9, 2022
ahus1
added a commit
to ahus1/keycloak
that referenced
this issue
Aug 23, 2022
ahus1
added a commit
to ahus1/keycloak
that referenced
this issue
Aug 24, 2022
ahus1
added a commit
to ahus1/keycloak
that referenced
this issue
Aug 25, 2022
ahus1
added a commit
to ahus1/keycloak
that referenced
this issue
Aug 25, 2022
ahus1
added a commit
to ahus1/keycloak
that referenced
this issue
Aug 25, 2022
ahus1
added a commit
to ahus1/keycloak
that referenced
this issue
Aug 29, 2022
agaman1792
pushed a commit
to agaman1792/keycloak
that referenced
this issue
Aug 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/storage
Indicates an issue that touches storage (change in data layout or data manipulation)
kind/bug
Categorizes a PR related to a bug
status/triage
Describe the bug
The following example first looks up the realmId, then looks it up via the session again.
keycloak/model/map/src/main/java/org/keycloak/models/map/role/MapRoleProvider.java
Lines 194 to 200 in fc974fc
Such a behavior will lead to problem in a tree store, where a partial store should return only its partial results.
Version
999-SNAPSHOT
Expected behavior
As no caches are in place outside of the map store, this behavior is now no longer needed. All legacy caches are disabled.
Actual behavior
Additional lookup by ID
The text was updated successfully, but these errors were encountered: