Bug 43909

Summary: EL EvaluationContext wrapper hides locale
Product: Tomcat 6 Reporter: Tuomas Kiviaho <tuomas.kiviaho>
Component: JasperAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.0.14   
Target Milestone: default   
Hardware: Other   
OS: other   
Attachments: proper locale wrapping

Description Tuomas Kiviaho 2007-11-19 23:06:25 UTC
org.apache.el.lang.EvaluationContext doesn't pass locale to the wrapped
ELContext as does org.apache.jasper.el.ELContextWrapper. This prohibits using of
the locale for it's original purpose.
Comment 1 Tuomas Kiviaho 2007-11-19 23:26:16 UTC
Created attachment 21157 [details]
proper locale wrapping

Here's a small patch to fix the problem but it would be more appropriate to
extract pure wrapper pattern implementation as it's own class.
Comment 2 Mark Thomas 2007-12-28 13:19:30 UTC
This has been fixed in svn and will be included in 6.0.16 onwards.