[ 
https://issues.apache.org/jira/browse/OFBIZ-12934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17824976#comment-17824976
 ] 

Deepak Dixit commented on OFBIZ-12934:
--------------------------------------

Need to replace `freemarker.ext.beans.StringModel` with 
`freemarker.ext.beans.GenericObjectModel`

At first glance it's working with the above changes. 
Getting error related to getBasePermission() while using ranbow default theme, 
not sure it's related with the freemarker change.

`freemarker.core._TemplateModelException: Java method 
"org.apache.ofbiz.base.component.ComponentConfig$WebappInfo.getBasePermission()"
 threw an exception when invoked on 
org.apache.ofbiz.base.component.ComponentConfig$WebappInfo object 
"org.apache.ofbiz.base.component.ComponentConfig$WebappInfo@3ee32924"; see 
cause exception in the Java stack trace.
`

[https://github.com/apache/freemarker/commit/cd58cbefd790c1ae71b14324f2b8cafffbc5ae13]
 

> Test next FreeMarker release 
> -----------------------------
>
>                 Key: OFBIZ-12934
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12934
>             Project: OFBiz
>          Issue Type: Task
>          Components: Freemarker
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-12934.patch
>
>
> {color:#FF8B00}This issue is a "reusable" one, not to be closed...{color}
> It's intended to test the next FreeMarker releases [as requested by the 
> FreeMarker 
> team|https://lists.apache.org/thread/t4c9z7wkcp3dbdokmnjd32fcptq8h9tz]
> As it's not an as simple change, here I attach a patch as an exemple based on 
> the test requested above: [^OFBIZ-12934.patch] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to