8000 Restore realm context after importing users from dir (#52892) [26.6] by shawkins · Pull Request #53981 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Restore realm context after importing users from dir (#52892) [26.6] - #53981

Merged
stianst merged 1 commit into
keycloak:release/26.6from
shawkins:backport-52892-26.6
Oct 15, 2026
Merged

stianst merged 1 commit into
keycloak:release/26.6from
shawkins:backport-52892-26.6

Conversation

@shawkins
Copy link
Copy Markdown
Contributor

Batch importing of users would detach the session's realm at the end, so JSON migrations (MigrateTo24_0_0) failed with LazyInitializationException when a users file was present.

Closes #52870

(cherry picked from commit b3032aa) - but for simplicity the test logic was not backported from the new framework to the old.

Batch importing of users would detach the session's realm at the end,
so JSON migrations (MigrateTo24_0_0) failed with LazyInitializationException
when a users file was present.

Closes keycloak#52870

Signed-off-by: Haeata <haeata.ash@pm.me>
(cherry picked from commit b3032aa)
@shawkins
shawkins requested a review from a team as a code owner October 14, 2026 16:33
@stianst
stianst merged commit f6ba89e into keycloak:release/26.6 Oct 15, 2026
83 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0