[
https://issues.apache.org/jira/browse/TAP5-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17893085#comment-17893085
]
Hudson commented on TAP5-2792:
------------------------------
SUCCESS: Integrated in Jenkins build Tapestry » tapestry-java-17-freestyle #134
(See
[https://ci-builds.apache.org/job/Tapestry/job/tapestry-java-17-freestyle/134/])
TAP5-2792: fixing test failures (thiago: rev
2a357a7d0e780d073d600ecd7987c1ab738f2c93)
* (edit)
tapestry-core/src/main/java/org/apache/tapestry5/test/TapestryTestCase.java
* (edit)
tapestry-core/src/test/java/org/apache/tapestry5/internal/services/ComponentEventLinkEncoderImplTest.java
> POST with body throws exception
> -------------------------------
>
> Key: TAP5-2792
> URL: https://issues.apache.org/jira/browse/TAP5-2792
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.9.0
> Reporter: Thiago Henrique De Paula Figueiredo
> Assignee: Thiago Henrique De Paula Figueiredo
> Priority: Major
> Fix For: 5.9.0
>
>
> From Erik Fäßler's message to the users mailing list:
> public class Api {
> Object onHttpPost(@RequestBody String body) {
> System.out.println(body);
> return null;
> }
> }
> When I send this request:
> curl -XPOST [http://localhost:8080/api] -d ‘asdfjhasdf’
> I get an application exception “STREAMED"
> rg.apache.tapestry5.runtime.ComponentEventException: Coercion of <Proxy for
> HttpServletRequest(javax.servlet.http.HttpServletRequest)> to type
> java.lang.String (via javax.servlet.http.HttpServletRequest --> String)
> failed: STREAMED
--
This message was sent by Atlassian Jira
(v8.20.10#820010)