Legacy Knowledge Base
Published Jun. 30, 2025

There are invalid rule expressions while saving form

Written By

Kanchan Bisht

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • It's possible to save a Form with fields removed from the Form Builder that make part of a rule.
    Steps to Reproduce :
    1. Go to Content&Data > Forms
    2. Create a new Form
    3. Add two fields: Text Field and Date Field (can be any field)
    4. Go to the Rules tab > Add a new rule like:
    4.1 IF Text Field is not empty
    Show Date Field
    Save the rule
    5. Delete the Date Field from the Form Builder
    6. Try to salve the Form
    7. Observe that the Form is saved.
    Expected Behavior: It's NOT possible to save the Form and the error message "Error:There are invalid rule expressions" is shown.
    Observed Behavior: It's possible to save the Form and the error message "Error:There are invalid rule expressions" is NOT shown.

Environment

  • Liferay DXP 7.4

Resolution

  • The observed behavior is a known bug which has been addressed via LPS-202546
  • Please submit a support ticket to request the hotfix that includes this LPS and see if it resolves the reported behavior.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base