Tapestry 5
  1. Tapestry 5
  2. TAP5-1277

Tapestry incorrectly calls PrintWriter.flush(), not close(), when writing JSON objects and arrays as the response

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2, 5.1
    • Fix Version/s: 5.2.1
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Apparent flush() does not always do the right thing (i.e., actually flush data) and when combined with GZip this could explain problems people have seen with corrupted data. We should be able to remove application/json from the list of uncompressable content types.

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #193 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/193/)
        TAP5-1277: Tapestry incorrectly calls PrintWriter.flush(), not close(), when writing JSON objects and arrays as the response

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #193 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/193/ ) TAP5-1277 : Tapestry incorrectly calls PrintWriter.flush(), not close(), when writing JSON objects and arrays as the response

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development