Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 6.1.1 CE GA2
-
Fix Version/s: --Sprint 11/12, 6.2.0 CE M2
-
Component/s: WCM, WCM > Web Content Administration
-
Labels:
-
Environment:Liferay 6.1.x Github, Tomcat 7.0.27, Mysql 5
-
Similar Issues:
Description
Hi to all,
Modifying Web content templates will not work until Liferay restart.
1. Create a simple web content structure and template eg:
Structure:
<?xml version="1.0"?>
<root>
<dynamic-element name="SomeText" type="text_area" index-type="" repeatable="false"/>
</root>
Template:
#set ( $text = $SomeText.getData() )
<p>$text</p>
2. Create a new web content using created structure.
3. Add some text and save.
4. Add Web Content Display to page.
Text will appear.
5. Click on Edit template icon.
6. Add after above Tempalte lines:
#set ( $anotherText = "Hello There" )
<p>$anotherText</p>
7. Click Save.
Taken back to Page NO CHANGES.
8. Refresh, Clear Cache, Control panel clear vm etc... NO CHANGES
9. Restart liferay
Hello There appears...
Cheers...

Works fine in 6.2.0 github