Issue
Steps to reproduce:
- Go to Control Panel > Configuration > Instance Settings > Miscellaneous > Default Language (change it to Spanish (Spain));
- Go to Content > Dynamic Data Lists > Click in the ellipses in the right corner (Manage Definitions);
- Click in the Plus icon to add a New Data Definition > Fill the name "My New Data Definition";
- Add a Text Field by drag and drop;
- Observe that the default language flag is shown as Spanish (Spain) (as EXPECTED);
- Save;
- Return to Content > Dynamic Data Lists > click to add a new List > Fill the name "My New List";
- Select the Data Definition previously created "My New Data Definition";
- Observe that the default language flag is shown as Spanish (Spain) (as EXPECTED);
- Save;
- Return to Content > Dynamic Data Lists > click in the list previously created "My New List";
- Click to add a new record to this list;
- Observe that the default language flag is shown in English (US) (NOT EXPECTED).
Expected result:
The Locale language should be reflected when filling a Dynamic Data List record according to the Default Current Language.
Actual result:
The Locale language is not being reflected when filling a Dynamic Data List record even after changing the Default Current Language.
Environment
- Liferay DXP 7.1
Resolution
- The observed behavior is verified and had been fixed in fix-pack 18 and higher versions.
- If the hotfix is required for this issue, please create a support ticket requesting the hotfix by attaching the patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install the Fixpack/Hotfix in your environment.
Additional Information
- LPS-91185
- Be sure to backup your Liferay DXP installation and database regularly, especially before patching.
- Try the above activity in a lower environment first, if all works well, then move to the production environment as per your discretion.
- Perform these operations in application server downtime, because these steps require the restart of the server.