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: Boris Kraft
             Fix For: 4.3.x, 4.4.2


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]>
----------------------------------------------------------------

Reply via email to