Skip to content

fix: locale-specific formatting due to MessageFormat.format()#1390

Merged
jfallows merged 1 commit intoaklivity:developfrom
ankitk-me:registryHandlerBug
Jan 31, 2025
Merged

fix: locale-specific formatting due to MessageFormat.format()#1390
jfallows merged 1 commit intoaklivity:developfrom
ankitk-me:registryHandlerBug

Conversation

@ankitk-me
Copy link
Contributor

@ankitk-me ankitk-me commented Jan 31, 2025

When we have a schema ID (int), that's more than 3 digit, catalog handler unable to pull schema.

Cause:
MessageFormat.format() treats numbers according to locale-specific formatting rules. By default, it inserts a thousands separator (comma in some locales) when formatting numbers larger than 999.

Screenshot 2025-01-31 at 10 07 12 AM

Fixes #1391

@jfallows jfallows merged commit 869533f into aklivity:develop Jan 31, 2025
5 checks passed
@ankitk-me ankitk-me deleted the registryHandlerBug branch April 28, 2025 04:18
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.

Schema Retrieval Failure Causes Validation Error in Zilla

2 participants