Tapestry
  1. Tapestry
  2. TAPESTRY-2504

Unspecified ajax stream response encoding

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.13
    • Fix Version/s: 5.0.14
    • Component/s: Core Components
    • Labels:
      None
    • Environment:
      windows, java 1.5

      Description

      Automcomplete response does not properly create data stream

      Class org.apache.tapestry5.util.TextStreamResponse:
      public InputStream getStream() throws IOException

      { return new ByteArrayInputStream(text.getBytes()); }

      should be:

      public InputStream getStream() throws IOException

      { byte[] bytes = text.getBytes(charset); return new ByteArrayInputStream(bytes); }

      charset : class field which holds valid charset:

      1. MissingCharsetBetter.patch
        5 kB
        Krzysztof Krzeminski
      2. MissingCharsetPatch.patch
        3 kB
        Krzysztof Krzeminski

        Issue Links

          Activity

          Krzysztof Krzeminski created issue -
          Krzysztof Krzeminski made changes -
          Field Original Value New Value
          Attachment MissingCharsetPatch.patch [ 12385392 ]
          Krzysztof Krzeminski made changes -
          Attachment MissingCharsetBetter.patch [ 12386182 ]
          Howard M. Lewis Ship made changes -
          Link This issue is part of TAPESTRY-2543 [ TAPESTRY-2543 ]
          Howard M. Lewis Ship made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 5.0.14 [ 12313214 ]
          Assignee Howard M. Lewis Ship [ hlship ]
          Fix Version/s unspecified [ 10790 ]
          Mark Thomas made changes -
          Workflow jira [ 12434753 ] Default workflow, editable Closed status [ 12568771 ]
          Mark Thomas made changes -
          Workflow Default workflow, editable Closed status [ 12568771 ] jira [ 12591790 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development