You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2007/08/18 02:46:34 UTC
[jira] Updated: (STR-3021) Tiles insert is evaluated twice if JSP
error occures
[ 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: (was: 1.4.0)
> 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
>
> Attachments: STR-3021.patch
>
>
> 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.