Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-2796

hst:include statements in freemarker do not work on Weblogic

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.26.10
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      HST response states can be nested. This is the case when including fragments for instance with hst:include tags. In these cases the parent state might be using a writer, while the child state is using an output stream. When the child state is flushed, it sees that it is using an output stream but then erroneously (and unjustifiably) assumes the parent is using an output stream too. At that moment it tries to use the parent's output stream, but since the parent was using a writer it will throw an illegal state exception. The hst response state must be modified to handle such cases where the parent state is using a different output method than the child.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsheriff Junaidh Kadhar Sheriff
                Reporter:
                uhommes Unico Hommes (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: