[MAGNOLIA-7999] Include controls on I18nContentSupport to check that it is a valid locale Created: 16/Feb/21  Updated: 16/Feb/21

Status: Open
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

Steps to reproduce

  1.  When setting the Locale through REST (AbstractI18nContentSupport) there is no validation that the locale exists, so any parameter can be passed causing exceptions

Expected results

Some validation is done to prevent those exceptions

Actual results

All inputs are allowed

Workaround

N/A

Development notes

N/A


Generated at Mon Feb 12 04:28:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.