You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Abhishek Rana (Jira)" <ji...@apache.org> on 2022/03/03 05:51:00 UTC
[jira] [Created] (CXF-8669) Multipart annotation not working 3.4.6 onwards.
Abhishek Rana created CXF-8669:
----------------------------------
Summary: Multipart annotation not working 3.4.6 onwards.
Key: CXF-8669
URL: https://issues.apache.org/jira/browse/CXF-8669
Project: CXF
Issue Type: Bug
Reporter: Abhishek Rana
Hello Team,
I have following API declaration
{code:java}
@POST
@Path("/{configurationName}.diff")
@Consumes(MediaType.MULTIPART_FORM_DATA)
@Produces({MediaType.APPLICATION_JSON})
ConfigurationDiffDTO diff(@PathParam("configurationName") String configurationName,
@Multipart(value = "fromRev", required = false) Long fromRev, @Multipart(value = "toRev", required = false) Long toRev, @Multipart(value = "file", required = false) Attachment file);
{code}
Above declaration works fine till 3.4.5 , after I upgraded to 3.5.0 (even 3.4.6) , multipart form values (fromRev and toRev) they are coming as null.
Is it a regression?
I am not sure of what more details I can put, though.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)