legacy-knowledge-base
公開されました Sep. 10, 2025

Object Validation Not Working Post Upgrade

written-by

Kartik Singh

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • After upgrading Liferay DXP from 2024.Q3.xx to 2025.Q1.xx, Object Validation is no longer functioning as expected.
  • Steps to reproduce:
    1. Start a clean instance of DXP 2024.Q3.12.
    2. Navigate to Control Panel > Objects > Objects.
    3. Create a new Object Folder, then create a new Object.
    4. In the created object:
      1. Go to the Details tab.
      2. Scroll to the bottom, enable "Enable Entry Translation", and save.
    5. Navigate to the Fields tab:
      1. Create a field of type "Text".
      2. Enable "Enable Entry Translation" and save.
    6. Go to the Validations tab:
      1. Create a validation.
      2. Enable "Active Validation".
      3. In the Expression Builder, use the following condition: NOT(isEmpty(textFieldName))
    7. Publish the object.
    8. 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
    9. Upgrade the instance from 2024.Q3.xx to 2025.Q1.xx.
    10. After the upgrade:
      1. Start the server.
      2. Perform a full reindex.
    11. 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.
did-this-article-resolve-your-issue

legacy-knowledge-base