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
- Installing Fix Packs and Hotfixes on Liferay DXP will guide you to install the Fixpack or Hotfix in your environment.