Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response.fromResponse bug in reactive version of resteasy libs #41887

Closed
bkalas opened this issue Jul 15, 2024 · 2 comments · Fixed by #42772
Closed

Response.fromResponse bug in reactive version of resteasy libs #41887

bkalas opened this issue Jul 15, 2024 · 2 comments · Fixed by #42772
Labels
area/rest kind/bug Something isn't working
Milestone

Comments

@bkalas
Copy link

bkalas commented Jul 15, 2024

Describe the bug

We switched from resteasy legacy to recomended reactive alternative quarkus-rest, quarkus-rest-jacskon.
After switch we noticed that Response.fromResponse method does not work anymore.
Code in controllers like
Response.fromResponse(rcClient.doCall()).build()
was working for legacy libs and its not correctly working in new libs.
It returns correct status, but payload somehoiw cannot be accessed.

I created reproducer
https://github.com/bkalas/q3-responsebug-reproducer
there are 2 projects
'reproducer-reactive-not-working'
'reproducer-resteasy-legacy-working'

See in both MainRestController and test for it, in resteasy-legacy test will pass, same test wont pass for rective

Expected behavior

Bahviour should be same for both libraries

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

17

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@bkalas bkalas added the kind/bug Something isn't working label Jul 15, 2024
Copy link

quarkus-bot bot commented Jul 15, 2024

/cc @FroMage (resteasy-reactive), @stuartwdouglas (resteasy-reactive)

@gastaldi
Copy link
Contributor

Thanks for the reproducer. This is a duplicate of #25496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rest kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants