[
https://issues.apache.org/struts/browse/STR-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Benedict updated STR-3021:
-------------------------------
Fix Version/s: 1.4.0
1.3.9
> Tiles insert is evaluated twice if JSP error occures
> ----------------------------------------------------
>
> Key: STR-3021
> URL: https://issues.apache.org/struts/browse/STR-3021
> Project: Struts 1
> Issue Type: Bug
> Components: Tiles
> Affects Versions: 1.3.5
> Environment: Tomcat 5.0
> Reporter: Thomas Wilhelm
> Fix For: 1.3.9, 1.4.0
>
>
> If an Exception is thrown in a tiles-included JSP the surrounding
> tiles-insert is processes twice. This most presumably due to a bug in
> TilesUtilImpl#doInclude(String uri, PageContext pageContext, boolean flush)
> where the InvocationTargetException is handled incorrectly. Every exception
> thrown from the executed inlcude-method will be throw wrapped into a
> InvocationTargetException so that include-method as well as
> pageContext.include(uri) is executed everytime a JSP-Error occures during an
> inlcude.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.