Language Keys API throws 400 when a duplicate key exists #24082
Labels
OKR : Customer Support
Owned by Scott
QA : Approved
Release : 22.03.14
Included in LTS patch release 22.03.14
Release : 23.01.11
Included in LTS patch release 23.01.11
Release : 23.10.24 v3
Included in LTS patch release 23.10.24 v3
Release : 23.12.21
SEO Improvements
Team : Bug Fixers
Type : Defect
Problem Statement
Language Keys API throws 400 when a duplicate key exists.
Relevant Ticket: https://dotcms.zendesk.com/agent/tickets/109737.
Reproduced in 23.01
API: https://demo.dotcms.com/api/v2/languages/default/keys.
Response: {"message":"Duplicate key dot.check.text (attempted merging values Value and Value)"}
Steps to Reproduce
Acceptance Criteria
API: https://demo.dotcms.com/api/v2/languages/default/keys.
Language API should not break when there is a duplicate key.
In 23.01 we can't add the same key twice for a language but it will create problems for the customers who will upgrade from old environments.
dotCMS Version
23.01
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
Assumptions & Initiation Needs
No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: