Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.0 DXP FP30, 7.0.X, Master
-
7.0.x
-
Committed
-
1
-
Localization
Description
Summary
In Japanese localization, if a user leaves a blank field in their user account address for prefecture/state/province and city/town, the error messages are not appearing correctly.
1. In a scenario where a user enters their full address in Japanese localization, but leaves a blank field for the prefecture/state/province field 都道府県 they get an error message indicating that portions of the address is incorrect (i.e. a blanket address error indicating that county/ward, city/town, and building number are incorrect).
2. In a scenario where a user enters their full address in Japanese localization, but leaves a blank field for the city field 市町村 they get an error message indicating that the prefecture/state/province field 都道府県 is blank.
-------------------------------------------------------
Steps to Reproduce Scenario 1 - Blank "City/Town" field
- Change the user's localization to Japanese, to display Liferay in Japanese
- Go to the user's Account Settings
- Click on the Identification tab (i.e. ID in Japanese localization)
- For the address, add data to every field except for the city/town field 市町村
- Save
Actual Result for Scenario 1
An error message appears indicating that the prefecture/state/province field 都道府県 is blank: 都道府県を入力してください。
Expected Result for Scenario 1
An error message appears indicating that the city/town field 市町村 is blank: 市町村を入力してください。
-------------------------------------------------------
Steps to Reproduce Scenario 2 - Blank "Prefecture/State/Province" field
- Change the user's localization to Japanese, to display Liferay in Japanese
- Go to the user's Account Settings
- Click on the Identification tab (i.e. ID in Japanese localization)
- For the address, add data to every field except for the prefecture/state/province field 都道府県}
- Save
Actual Result for Scenario 2
An error message appears indicating that the address including county/ward, city/town, or building number need to be correct: 市区町村/番地を正しく入力してください。
Expected Result for Scenario 1
An error message appears indicating that the prefecture/state/province field 都道府県 is blank: 都道府県を入力してください。
-------------------------------------------------------
Reproduced in
Master 6fb5eb419f457d74d82135c0bcb4aec4ea44ca12
7.0.x 51bcc8968ed4269a9f1c42f33585a38ef18643f3
DXP FP30