-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 Alpha 2
-
Fix Version/s: 7.0.0 Beta 8
-
Component/s: Site Templates, ~ [Archived] Frontend Infrastructure
-
Labels:
-
Epic/Theme:
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
Reproduction Steps (AAA):
- Start Liferay Master and login as admin user.
- Add a new page (AAA) and select "Blog" type.
- Save.
- Navigate to the AAA page and click the Edit icon
- Add JavaScript code: console.log('AAA')
- Save the page.
- Go to Control Panel/Sites/Page Templates.
- Open the Blog template
- Click on the edit icon for Blogs
- Click the JavaScript section (see that there is no JavaScript content)
- Save this template (without any changes)
- Go back to newly created AAA page and click the Edit icon
- Click the JavaScript section
Expected:
JavaScript section contains the previously added JavaScript code.
Actual Behavior:
JavaScript section is empty.
Alternate Test (BBB):
Put some JavaScript in Step 10 console.log('TEMP');. We would expect the page created from the Blogs Template to keep it's original JavaScript and not the Templates.