-
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
Issue with multiform data rest client on Quarkus 3.14 #43364
Comments
/cc @cescoffier (rest-client), @geoand (rest-client) |
Is |
Yes, TestRestAPI is in a different module. I did add the jandex plugin in my POM but it does not seem to make a difference.
|
Have you tried the |
I did try it. So basically what we have observed is that once we remove the inputStream parameter on the Request then everything works as expected. My issue is very similar to this one #42077. |
Very interesting. If you attach a sample application that exhibits the problem in action, I can do a deep dive and see what can be done. |
I have created 2 projects(producer and consumer). In my consumer project, ExampleResourceTest.java fails with the below error message. Error: I have also attached the sample projects. |
I have uploaded the two projects. The rest API is defined inside a project called sample and the failing test is defined inside the consumer project. |
Thanks, I'll check soon |
Your reproducer was super helpful, thanks! #43437 fixes the issue |
So will the fix go into 3.14.4 or will it be part of a new patch release? |
I will hopefully be part of |
So what is the tentative release date for 3.15.1? |
Towards the end of the month or beginning of October unless something unforeable happens |
Thanks for the quick response. |
🙏🏽 |
Make media type optional for InputStream when using multipart in REST Client
… Client Fixes: quarkusio#43364 (cherry picked from commit a6cf385)
Describe the bug
I have the below rest endpoint. Whenever I start Quarkus, I get an error saying that my rest client has not been indexed at build time. I am using Quarkus 3.14.1
Endpoint definition:
Error:
Caused by: java.lang.IllegalStateException: REST client interface: interface com.test.api.restclient.TestRestApi was not indexed at build time.
Expected behavior
The expectation is that the app should start up without any issues.
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
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: