[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26598#action_26598
 ] 

Hudson CI server commented on MAGNOLIA-3037:
--------------------------------------------

Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! 
[standard-templating-kit 
#2427|http://hudson.magnolia-cms.com/job/standard-templating-kit/2427/]
     MGNLSTK-568: Since MAGNOLIA-3037, these changes are not necessary anymore.


> Handle UnsupportedOperationException for User implementation within the 
> Freemarker model/wrapper
> ------------------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-3037
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3037
>             Project: Magnolia
>          Issue Type: Improvement
>          Components: core
>            Reporter: Grégory Joseph
>            Assignee: Grégory Joseph
>             Fix For: 4.3 M1
>
>
> When Freemarker templates attempt to output properties out of 
> {{info.magnolia.cms.security.User}} instances which throw 
> {{UnsupportedOperationException}}s (typically 
> {{info.magnolia.cms.security.ExternalUser}}), this results in ugly exceptions 
> thrown all over the place. Since templates should anyway be aware of this and 
> provide fallback behaviour, our Freemarker wrapper for User could handle 
> those exceptions, giving templates the chance to handle absent properties. 
> They should be able to do {{user.myProperty!'default value'}}, for example.

-- 
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: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to