[ 
https://issues.apache.org/jira/browse/CONNECTORS-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-468.
------------------------------------

    Resolution: Fixed
    
> Using ResourceBundle under Velocity has unhelpful behavior when a key is 
> missing
> --------------------------------------------------------------------------------
>
>                 Key: CONNECTORS-468
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-468
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Framework core
>    Affects Versions: ManifoldCF 0.5, ManifoldCF 0.6
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 0.6
>
>
> When you use ResourceBundle.getString in a Velocity template, the behavior 
> for a missing key is to throw an exception - which causes the template to not 
> render and an exception to be printed in the log.  It would be much better if 
> the behavior was more similar to Messages.getString.  We can do this by 
> wrapping ResourceBundle and using the wrapped class in the context instead of 
> ResourceBundle itself.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to