-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, Master
-
Fix Version/s: 7.0.0 DXP FP35, 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.0.X, 7.1.0 M1, 7.1.X, Master
-
Component/s: Core Infrastructure > Freemarker OSGi Bridge
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
Steps:
0) Go to Control Panel -> Configuration -> System Settings -> Foundation -> FreeMarker Engine
1) delete objectUtil from the restricted variables then save
2) Go to Site -> Configuration -> Application Display Template
3) Create a new ADT for Asset Publisher with the below code:
<#assign assetEntryQuery = objectUtil("com.liferay.asset.kernel.service.persistence.AssetEntryQuery") />
4) Add the Asset Publisher portlet to a page.
5) Go to Configurations -> Display Settings.
6) Under Display Settings, select the template created at step 3
Actual: Exception throw saying failed at line from step 3.
Expected: Nothing wrong.