[MGNLFORM-373] errorMessage not being translated till anonymous language is changed Created: 25/Mar/22  Updated: 08/Sep/22  Resolved: 08/Sep/22

Status: Closed
Project: Magnolia Form Module
Component/s: None
Affects Version/s: None
Fix Version/s: 2.7.7

Type: Bug Priority: Normal
Reporter: Carlos Cantalapiedra Assignee: Thuy To
Resolution: Fixed Votes: 1
Labels: authx
Σ Remaining Estimate: 0d Remaining Estimate: 0d
Σ Time Spent: 3d 0.25h Time Spent: 3d 0.25h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Problem/Incident
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLFORM-382 QA Sub-task Completed Lam Nguyen Bao  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Epic Link: AuthorX Support
Sprint: AuthX 17
Story Points: 2
Team: AuthorX

 Description   

Steps to reproduce:

  1. Go to demoPublic and login as superuser
  2. Go to Resources App -> /form/i18n/ and create a new file named form-frontend_de.properties
  3. Open the file an include a key like:
    /form/i18n/form-frontend_de.properties
    form.user.errorMessage.email      = GERMAN TEST
  4. Logout and open Contact page (switch language to German)
  5. Fill the form with an invalid input and check that the error message is in English

Expected result:

The errorMessage shown in a form matches the language of the site

Actual result:

The errorMessage shown in a form matches the anonymous role language

Dev notes:

Switching the language at Security app for anonymous user from English to German shows the proper errorMessage (English or German according the user configuration)


Generated at Mon Feb 12 05:39:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.