Tiles
  1. Tiles
  2. TILES-544

Stack overflow due to rendering loop when including a resource resulting in another tiles view.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.2.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Spring MVC 3.1.1

      Description

      I get a stackoverflow because of a rendering loop when including an call to a controller with a view is also a tile. This is a dup of TILES-418, but since that one was closed and I couldn't attach my stack trace, I'll open this new one.

      To me this is very critical. I just upgraded an application from Spring 2.0.7 and old struts-tiles to Spring 3.1.1 and tiles 2.2.2 and the structure worked with struts-tiles. It's kind of a homebrew portlet thingy where we iterate over url:s pointing to controllers given by a cms.

      The included controller is called correctly and returns a model and view where the view points to a tile definition. But when Spring gives over the rendering to tiles, the loop begins.

      It doesn't matter if I include the url with:

      <tiles:insertTemplate name="$

      {entry.url}

      " />
      or
      <c:import url="$

      {entry.url }

      " />

      the same error occurs.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Viktor Hedefalk
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development