Issue
- After upgrading Liferay DXP from 2024.Q3.xx to 2025.Q1.xx, Object Validation is no longer functioning as expected.
- Steps to reproduce:
- Start a clean instance of DXP 2024.Q3.12.
- Navigate to Control Panel > Objects > Objects.
- Create a new Object Folder, then create a new Object.
- In the created object:
- Go to the Details tab.
- Scroll to the bottom, enable "Enable Entry Translation", and save.
- Navigate to the Fields tab:
- Create a field of type "Text".
- Enable "Enable Entry Translation" and save.
- Go to the Validations tab:
- Create a validation.
- Enable "Active Validation".
- In the Expression Builder, use the following condition:
NOT(isEmpty(textFieldName))
- Publish the object.
- Navigate to the object’s entry form, input data into the configured field, and verify that the form saves successfully without triggering the validation message.
Upgrade and Post-Upgrade Behavior - Upgrade the instance from 2024.Q3.xx to 2025.Q1.xx.
- After the upgrade:
- Start the server.
- Perform a full reindex.
- Repeat step 8.
Expected Behavior: After upgrading DXP to 2025.Q1.xx, the object validation should work as expected, just as it did before the upgrade.
Observed Behavior: After upgrading DXP to 2025.Q1.xx, the object validation is not working as expected.
Environment
- 2025.Q1.xx and above
Resolution
- The observed behavior is a known bug and is addressed by: LPD-57356
Additional Information
- If a hotfix is required or any more information on this is needed, please create a support ticket requesting a hotfix by attaching the patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install this hotfix in the respective environment.