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

        Howard M. Lewis Ship created issue -
        Howard M. Lewis Ship made changes -
        Field Original Value New Value
        Assignee Howard M. Lewis Ship [ hlship ]
        Howard M. Lewis Ship made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Howard M. Lewis Ship made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Fix Version/s 5.2.1 [ 12315230 ]
        Resolution Fixed [ 1 ]
        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