Skip to content

test: make mock server name lookups case-insensitive#8

Merged
wadahiro merged 1 commit into
mainfrom
dev
Apr 14, 2026
Merged

test: make mock server name lookups case-insensitive#8
wadahiro merged 1 commit into
mainfrom
dev

Conversation

@wadahiro
Copy link
Copy Markdown
Contributor

Crowd treats user and group names as case-insensitive. The mock server was using exact match queries, causing 404 when MidPoint normalized names to lowercase.

Use LOWER() in all name-based SQL queries and replace column UNIQUE constraints with UNIQUE INDEX on LOWER(name).

Crowd treats user and group names as case-insensitive. The mock server
was using exact match queries, causing 404 when MidPoint normalized
names to lowercase.

Use LOWER() in all name-based SQL queries and replace column UNIQUE
constraints with UNIQUE INDEX on LOWER(name).
@wadahiro wadahiro merged commit 841ce11 into main Apr 14, 2026
1 check passed
@wadahiro wadahiro deleted the dev branch April 14, 2026 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant