Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.2.X
-
7.2.x
-
Committed
-
1
-
Regression Bug
Description
Description
If the field name of the web content structure starts with a number, a Syntax Error will occur.
Steps to reproduce
- Start Liferay
- Go to Contents > Web Contents
- Go to the Structure tab and click the + button to add a new structure
- Enter a name for the structure > add "Text Box" field > change Setting:Name to "1" and save
- Go to the Template tab and click the + button to add a new template
- Enter a template name and select the structure created in step 4
- Select "Text Box" from the left tree and save it
- Go to Web Content tab, select the structure created in Step 4 from the + button and add web content
- Preview the added web content
Actual result
Syntax Error is displayed because variable name cannot start with a number.
Expected result
Content is displayed correctly.
Reproduced in
DXP-12
72x Commit: be25f7ef4101328461888eda8713f935d66d6daa
Attachments
Issue Links
- fixes
-
LPS-131378 When creating web content from a structure, a Syntax Error occurs during preview.
- Closed