Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74695

Error messages in Japanese localization problem for blank fields in user account address

Details

    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

      1. Change the user's localization to Japanese, to display Liferay in Japanese
      2. Go to the user's Account Settings
      3. Click on the Identification tab (i.e. ID in Japanese localization)
      4. For the address, add data to every field except for the city/town field 市町村
      5. 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

      1. Change the user's localization to Japanese, to display Liferay in Japanese
      2. Go to the user's Account Settings
      3. Click on the Identification tab (i.e. ID in Japanese localization)
      4. For the address, add data to every field except for the prefecture/state/province field 都道府県}
      5. 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

      Attachments

        Activity

          People

            brian.chan Brian Chan
            brian.suh Brian Suh
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 36 weeks, 4 days ago

              Packages

                Version Package
                7.0.0 DXP FP32
                7.0.5 CE GA6
                7.0.X
                7.1.X
                Master