[
https://issues.apache.org/jira/browse/FREEMARKER-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17693525#comment-17693525
]
Gray edited comment on FREEMARKER-177 at 2/25/23 8:15 PM:
----------------------------------------------------------
This seems to have been changed in the 4.X.X version of spring and is no longer
an issue. I still think that the get/set methods should be symmetric but this
is no longer a bug. Feel free to close.
Related to: [https://github.com/spring-projects/spring-framework/issues/17053]
and [https://github.com/spring-projects/spring-framework/issues/16801]
was (Author: dig090):
This seems to have been changed in the 4.X.X version of spring and is no longer
an issue. I still think that the get/set methods should be symmetric but this
is no longer a bug. Feel free to close.
> freemarker Configurable has a asymmetric settings get/set which causes spring
> failure
> -------------------------------------------------------------------------------------
>
> Key: FREEMARKER-177
> URL: https://issues.apache.org/jira/browse/FREEMARKER-177
> Project: Apache Freemarker
> Issue Type: Bug
> Affects Versions: 2.3.29
> Reporter: Gray
> Priority: Major
> Attachments: trace.txt
>
>
> When I try to configure freemarker.template.Configuration in spring, it
> throws the exception:
> {{Caused by: org.springframework.beans.FatalBeanException: Failed to obtain
> BeanInfo for class [freemarker.template.Configuration]; nested exception is
> java.beans.IntrospectionException: type mismatch between read and write
> methods}}
> The problem is that setSettings(...) takes a Properties and getSettings()
> returns a Map. The get has been deprecated forever. Can it please be
> fixed? The alternative is having to do some spring hackery.
> See: [https://github.com/apache/freemarker/pull/74]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)