Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-694

missing close() call in class org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter:

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.2-core
    • 1.2.1-core
    • Facelets
    • None

    Description

      This was posted on a mailing list and never posted into JIRA

      >Hi, while investigating about a modal panel failure in using RichFaces, I noticed that Ajax4jsf failed to render a cached css.
      >The final effect is an apparently random failure in showing the modal panel, depending on browser caching of involved css.
      >This is turn was due to
      > a missing close() call in class org.apache.myfaces.trinidadinternal.io.HtmlResponseWriter:
      > its close() method simply flushes, without closing the associated stream.
      >This close is needed (class CacheContent of Ajax4jsf) to mark cached obj contents presence.
      >Without this mark, no contents will be returned to the browser.
      >Adding _out.close() at line # 98 fixes this issue.
      >
      >-- Renzo

      I agree with Renzo.
      --paulkossler

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulkossler Paul Kossler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: