You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Eric Chatellier (Jira)" <ji...@apache.org> on 2023/05/10 08:33:00 UTC

[jira] [Commented] (CXF-8669) Multipart annotation not working 3.4.6 onwards.

    [ https://issues.apache.org/jira/browse/CXF-8669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17721249#comment-17721249 ] 

Eric Chatellier commented on CXF-8669:
--------------------------------------

Hi, I just tested the released 3.6.0 version, and this is still not working :(

I will try to debug it again...

> 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
>    Affects Versions: 3.4.6, 3.5.5
>            Reporter: Abhishek Rana
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 3.6.0, 4.0.1, 3.5.6, 3.4.11
>
>
> 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?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)