jax-rs - exception mapper - Unable to extract parameter
doesn't show the value of the parameter, just {1}
#11252
Labels
area/resteasy-classic
kind/bug
Something isn't working
triage/out-of-date
This issue/PR is no longer valid or relevant
Milestone
Quarkus master / Quarkus 1.7.0.CR2 -
Unable to extract parameter
doesn't show the value of the parameter, just {1} for case of exception in conversion of@QueryParam
to the expected type - String to Integer in my caseRegression comparing to 1.3.4.Final and 1.6.1.Final, found it when experimenting with https://github.com/gastaldi/resteasy-xss example
It's REASTEasy issue for sure, I have possible fix for it.
Want to track it here too so as it's regression and is connected to #7248
What I see:
RESTEASY003870: Unable to extract parameter from http request: javax.ws.rs.QueryParam("paging") value is {1} for public java.lang.Integer org.acme.UsersResource.page(java.lang.Integer)
Expectation:
RESTEASY003870: Unable to extract parameter from http request: javax.ws.rs.QueryParam("paging") value is 'asd' for public java.lang.Integer org.acme.UsersResource.page(java.lang.Integer)
Request: http://localhost:8080/users?paging=asd
The text was updated successfully, but these errors were encountered: