-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, Master
-
Fix Version/s: 7.1.10 DXP FP10, 7.1.10.2 SP2, 7.1.3 CE GA4, 7.1.X, Master
-
Component/s: Forms
-
Branch Version/s:7.1.x
-
Backported to Branch:Committed
-
Story Points:0.25
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce
- Start up Liferay
- Go into Liferay DXP (Site) > Content > Forms
- Create a new form with the following content:
- Add a Single Selection - Title it "A", with two selections labeled "radio 1" and "radio 2"
- Underneath it, add a Select From List - Title it "B", with some manual data (arbitrary)
- Go to the Rules tab and create a rule with the following content:
- If "A" - "Is equal to" - "Value" - "Radio 1"
- Do "Show" - "B"
- Save the Rule
- Go back to the Forms tab
- Save form
- Go to Rules tab
Expected behavior
The rule summary will show "If Field A is equal to Value radio 1 Show B"
Current behavior
The rule summary will show "If Field A is equal to Value radio1 Show B" (notice that now there's no space between "radio" and "1"). The field name is being shown instead of the field label, which is inconsistent with the behavior of other fields.
Additional notes
LPS-90832covered a very similar case, which didn't involve saving the form (only the rule).- A similar behavior can be verified with Multiple Selections as well.
Reproduced on
master GITID 62b4d481d0d29eae24cb8825fb2ee4fdd4f6165e
7.1.x GITID ed2e98e2d57bba728d34dbe7a5820bb52174424d