Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-28361

Any change to Web Content Template will not appear until Liferay restart

    Details

      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...

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 13 weeks, 4 days ago

                  Packages

                  Version Package
                  --Sprint 11/12
                  6.2.0 CE M2