-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, Master
-
Fix Version/s: 7.1.10 DXP FP5, 7.1.10.1 SP1, 7.1.2 CE GA3, 7.1.X, Master
-
Component/s: Forms
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Summary
The user is able to save form containing a rule with a deleted data provider.
Steps to Reproduce
- Liferay > Content > Forms;
- Click on more button of the top right page > Data Providers;
- Click on the add button > Fill Data Provider required fields (Name, Description, and URL);
- Click on save button;
- Add a form with some Text Fields (label a, label b) and a Select From List (select from list) field to be used in the Rules tab;
- Go to Rules tab;
- Add a new rule;
- Add a condition (if label a is equal to 0);
- Add an action (do Auto Fill from Countries of the World where Output is select from list field);
- Save Rule;
- In another tab, go to the Data Providers settings and delete the Countries of the World data provider (the form must not have been saved or autosaved).
- Go back to the Forms and try to save the forms in the Builder tab;
- Go to the Rules tab;
- Note that the Data provider name was replaced by {1} and the user was not informed that the data provider no longer exists.
Actual Results
The user is able to save form containing a rule with a deleted data provider.
Expected Results
The user should be informed that the form contains a rule pointing to a deleted data provider.
Reproducible In:
Liferay portal:
master: 339bc98968c6f3c0159e8f29d7fe7cbe933ee493
Updated on: Fri Oct 12 18:48:09 2018 -0700
7.1.x-private: b9bf75b2a0b26d6523c686496105330322680016
7.1.x: f5130602000d4eefb2d855fdff5e9de437439cc8
Updated on: Fri Oct 12 15:28:15 2018 -0700