Type: Regression Bug
Affects Version/s: Master
Component/s: Data Engine
Web Content date field value is not persisted when using different default language.
This problem occurs when we type date with a day greater than 12, it seems like the Portal is trying to parse the date using en-US date format.
Steps to Reproduce
- Go to Control Panel > Instance Settings > Localization;
- Change default language to Portuguese (Brazil) and save;
- Go to Global Menu > Liferay DXP;
- Go to Product Menu > Content & Data > Web Content > Structure;
- Create a Structure with one Date field and save;
- Add a Web Content with the created Structure;
- Type a title and add a value (19/04/2021) for Date field;
- Publish and reopen.
Date field value is persisted
Date field value is not persisted