Skip to content

Migration of sessions in KC25 should run only on migration, not on imports #30351

@ahus1

Description

@ahus1

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

core

Describe the bug

The migration is triggered also on import

Version

main

Regression

  • The issue is a regression

Expected behavior

It should only run on the migration of a Keycloak installation

Actual behavior

It runs also on imports, when the import is from an older version of Keycloak

How to Reproduce?

Occurred in the test suite when testing things for KC26

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions