Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-3021

Tiles insert is evaluated twice if JSP error occures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.5
    • 1.3.9
    • Tiles 1 Plugin
    • None
    • Tomcat 5.0

    Description

      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.

      Attachments

        1. STR-3021.patch
          0.9 kB
          Jira Report User

        Issue Links

          Activity

            People

              Unassigned Unassigned
              twilhelm Thomas Wilhelm
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: