-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.3.X, Master
-
Component/s: Portal Services > Templates Engine
-
Labels:
-
Branch Version/s:7.3.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Last Working Version:
-
Git Pull Request:
Steps to Reproduce:
- Add config file com.liferay.portal.template.freemarker.configuration.FreeMarkerEngineConfiguration.config in liferay.home/osgi/configs, and add property asyncRenderTimeout=L"7200000" in it.
- Start portal.
- Go to Content & Data > Web Content.
- Add a new structure.
- Add a new template for the structure with below script:
<#assign ac=Application['org.springframework.web.context.WebApplicationContext.ROOT']> <#list ac.getBeanDefinitionNames() as item> <p><b>${item}</b></p> </#list>
- Add Web Content Display portlet into a page.
- Add a new content of the created structure and template.
Expected Results:
Template error should display in Web Content portlet.
Actual Results:
Portlet body doesn't display.
Note:
When preview the web content in Web Content admin, error "Web Content is temporarily unavailable. " occurred.
Reproduced on:
Tomcat 9.0.37 + MySQL 5.7. Portal master DXP GIT ID: dab7ad790ee947a2abc6cc6b656a1caa46943ac5.
- is caused by
-
LPS-124751 Add support to process freemarker template asynchronously
-
- Closed
-