-
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
Handling a multipart request part as a file based on the content-type #30502
Comments
/cc @FroMage (resteasy-reactive), @Sgitario (resteasy-reactive), @geoand (resteasy-reactive), @stuartwdouglas (resteasy-reactive) |
@pjgg I'm confused. Does it work with 2.13.6.Final? Because Pedro confirmed things were working for him with 2.13.6.Final. |
@gsmet the reproducer is still failing on 2.13.6.Final (but works on |
So what I don't understand is that Pedro was positive his issue was fixed in 2.13.6.Final so I'm not sure your test is actually testing exactly the behavior @pedroigor wanted. I know we had other patches related to this issue that we didn't backport though. |
The test is not working because it's sending a text part. If you change this line to:
The test will work in 2.13.6.Final. This issue was fixed for 2.15.1.Final by #29716, which is not backported. |
So should we disable the test in |
Looks like it is a different scenario. The behavior we expect is working fine in 2.13. |
Closing as not planned. |
Describe the bug
Quarkus
2.13.7.Final
Related to #29725
This issue is still happening on Quarkus
2.13.7.Final
although was backported to Quarkus2.13.6.Final
. Is working on Quarkus2.15.2.Final
or main.Expected behavior
All files regardless to the content-type of a multi-part request are uploaded.
Actual behavior
I am getting the following error:
How to Reproduce?
Fails
Works
Be sure that the test
RESTEasyReactiveMultipartIT#testPlainTextFilePartFromMultipart
is not disabledOutput of
uname -a
orver
Linux ovpn-193-134.brq.redhat.com 6.0.16-300.fc37.x86_64
Output of
java -version
openjdk version "17.0.5" 2022-10-18 OpenJDK Runtime Environment Temurin-17.0.5+8 (build 17.0.5+8) OpenJDK 64-Bit Server VM Temurin-17.0.5+8 (build 17.0.5+8, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: