Skip to content
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

Management - Incorrect locale 'name' displaying in response error message #8943

Closed
exalate-issue-sync bot opened this issue Mar 13, 2023 · 0 comments
Closed

Comments

@exalate-issue-sync
Copy link

exalate-issue-sync bot commented Mar 13, 2023

The ‘name’ of the locale in the error message is incorrect given a dictionary has been created and the management API endpoint is called again, but in the request, only the locale ‘name’ is changed.

Steps to reproduce 1. Call the Management API to create a locale (locale=en name=qa) 2. The locale is created 3. Now call the same endpoint but change the name only (name=qatest)

Actual result - We are showing the name inputted in the request

Expected result

  • We should display in the message the name of the dictionary already created for that specific locale

For example:

"message": "An i18n dictionary already exists for en",
"http_status": 400
  • The response code should be 400 Bad Request
@exalate-issue-sync exalate-issue-sync bot added this to the AM - 3.19.x milestone Mar 13, 2023
@exalate-issue-sync exalate-issue-sync bot changed the title AM - Management - Error message is n AM - Management - Incorrect 'name' of locale displaying in error message Mar 13, 2023
@exalate-issue-sync exalate-issue-sync bot changed the title AM - Management - Incorrect 'name' of locale displaying in error message AM - Management - Incorrect locale 'name' displaying in response error message Mar 13, 2023
@exalate-issue-sync exalate-issue-sync bot modified the milestones: AM - 3.19.x, AM - 3.19.8 Mar 14, 2023
@exalate-issue-sync exalate-issue-sync bot removed this from the AM - 3.19.8 milestone Mar 20, 2023
@exalate-issue-sync exalate-issue-sync bot changed the title AM - Management - Incorrect locale 'name' displaying in response error message Management - Incorrect locale 'name' displaying in response error message Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants