Tiles
  1. Tiles
  2. TILES-238

Tiles doesn't throw exception when inner attribute has problems

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.5
    • Fix Version/s: 2.0.6
    • Labels:
      None
    • Environment:

      Tiles 2.0.x

      Description

      If an inner attribute has problems (i.e. exceptions), Tiles currently logs the exception (this includes compile problems) and goes on rendering.

      Sometimes it is neccessary to get an exception if inner attribute rendering fails.

      Imho, adding a new parameter to tiles configuration like org.apache.tiles.definition....DO_NOT_HIDE_EXCEPTIONS would be enough

        Activity

        Hide
        Antonio Petrelli added a comment -

        Now RenderTagSupport does not implement TryCatchFinally anymore: exceptions pass through.

        Show
        Antonio Petrelli added a comment - Now RenderTagSupport does not implement TryCatchFinally anymore: exceptions pass through.
        Hide
        Antonio Petrelli added a comment -

        Whoops! I forgot to merge the changes!

        Show
        Antonio Petrelli added a comment - Whoops! I forgot to merge the changes!
        Hide
        Antonio Petrelli added a comment -

        Merge done, sorry for any inconvenience...

        Show
        Antonio Petrelli added a comment - Merge done, sorry for any inconvenience...
        Hide
        Antonio Petrelli added a comment -

        Tiles 2.0.6 released.

        Show
        Antonio Petrelli added a comment - Tiles 2.0.6 released.

          People

          • Assignee:
            Antonio Petrelli
            Reporter:
            Eugene
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development