Issue
-
Decimal fields type ddm-number and ddm-decimal always displays the decimal separator as point when viewing with Web Content Display widget and Asset Publisher
Steps:
1. Go to Content & Data > Web content > Structures > Click on + button to add new structure2. Add to the structure two fields of type ddm-number and ddm-decimal be sure they are localizable
3. Go to Templates add a template to the Structure created before and drag the two fields to be displayed
4. Go to Web Content add a new content with the structure created at step 1
5. Add different values that contains decimals for example select locale en-US and add 100000.201 than select locale es-ES add value 200000,102 (see that here comma and point changes based on locale)
6. Go to a widget page and add a Web Content Display to view the content we created at step 4
7. Use Language selector widget to change language to es-ES see the values 200000,102 still display with decimal separator as point 200000.102 and not comma as it should.
Actual: Decimal fields type ddm-number and ddm-decimal always displays the decimal separator as point
Excepted: Decimal fields type ddm-number and ddm-decimal displays the decimal separator related to the current selected locale
* Please see Zendesk Support tab for further comments and attachments.
Environment
- Liferay DXP 7.2
- LIferay DXP 7.3
Resolution
- The observed behavior is a known issue and is fixed in liferay-fix-pack-dxp-2 for 7.3.
- The observed behavior is a known issue and is fixed in liferay-fix-pack-dxp-14 for 7.2.
- If the hotfix is required for this issue, please create a support ticket requesting hotfix by attaching patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide to install these Fixpack in your environment.