[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ondřej Chytil updated MAGNOLIA-3472:
------------------------------------
Fix Version/s: 4.4.4
(was: 4.3.x)
(was: 4.4.3)
> Also handle UnsupportedOperationException for User implementation within the
> Freemarker model/wrapper when templates calls the getProperty method directly.
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MAGNOLIA-3472
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3472
> Project: Magnolia
> Issue Type: Improvement
> Reporter: Grégory Joseph
> Assignee: Philipp Bärfuss
> Fix For: 4.4.4
>
> Attachments: MAGNOLIA-3472-failingtest.patch
>
>
> The {{info.magnolia.freemarker.models.UserModel}} is written to "hide" the
> UnsupportedOperationException (since MAGNOLIA-3037) only when using
> user.fullName - which gets interpreted as {{user.getProperty("fullName")}}.
> Some of our templates still do {{user.getProperty("fullName")}}, and that
> falls out of the try/catch block of UserModel.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------