-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Jakarta RESTful Web Services 3.1 Multipart support does not work #38980
Comments
RESTEasy Reactive and RESTEasy Classic differ in their support for Multipart, so anything you see in the latter's docs won't work in the former. I'll cc @jamezp for the RESTEasy Classic part of this |
This should work in RESTEasy already. There is an example standalone application for it https://github.com/resteasy/resteasy-examples/blob/main/standalone-multipart/src/main/java/dev/resteasy/examples/multipart/UploadResource.java#L49. My assumption would be that RESTEasy Reactive needs a |
@jamezp reading the issue, OP mentions that it does not work in RESTEasy Classic |
@geoand Hmm... ...the stack trace looks like RESTEasy Reactive to me. I guess we'd need to see a reproducer. I know for sure it works in that |
Yes, but OP also mentioned that it does work with RESTEasy Classic either, or at least that's how I parsed it |
Okay, I guess I'd need a reproducer then. All I can say is I know that example works :) The only reason I could think of it wouldn't work is if the |
Closing as we never got a reproducer |
Describe the bug
I'm unable to make the multipart examples from the resteasy documentation (https://docs.jboss.org/resteasy/docs/6.2.6.Final/userguide/html/ch26.html#entity_part) work.
I'm using the quarkus-resteasy-reactive but the problem persists with the normal quarkus-resteasy dependency.
Expected behavior
No runtime exceptions.
Actual behavior
How to Reproduce?
Given an example, taken from the RESTEasy documentation: https://docs.jboss.org/resteasy/docs/6.2.6.Final/userguide/html/ch26.html#entity_part
Output of
uname -a
orver
Darwin 002646-mac.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 arm64
Output of
java -version
openjdk 21.0.1 2023-10-17 LTS OpenJDK Runtime Environment Zulu21.30+15-CA (build 21.0.1+12-LTS) OpenJDK 64-Bit Server VM Zulu21.30+15-CA (build 21.0.1+12-LTS, mixed mode, sharing)
Quarkus version or git rev
3.7.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.5
Additional information
No response
The text was updated successfully, but these errors were encountered: