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

Jeromy Evans reopened WW-2615:
------------------------------


FreemarkerTemplateEngine also accidentally swallows FreeMarker's ParseException 
if the exception occurs in a template successfully loaded after the first.

Ie. first attempt causes a FileNotFoundException.  The template in the parent 
theme exists but throws a ParseException (which is an IOException).  The 
exception is swallowed by the framework and only the FileNotFound exception is 
reported.  

Grrr...

> Improve feedback for missing tag templates
> ------------------------------------------
>
>                 Key: WW-2615
>                 URL: https://issues.apache.org/struts/browse/WW-2615
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.1.1
>            Reporter: Jeromy Evans
>            Assignee: Jeromy Evans
>            Priority: Minor
>             Fix For: 2.1.2
>
>
> Currently if a template for a tag is not found an error is logged only for 
> the first exception, even if it attempted to find templates in multiple 
> themes  
> As an improvement, the log should identify which other templates it attempted 
> to load to help developers isolate if they have a template hierarchy issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to