[ 
https://issues.apache.org/jira/browse/CXF-4697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

William Tam updated CXF-4697:
-----------------------------

    Attachment: CXF-4697.patch

Patch with test case.
                
> IllegalArgumentException thrown if I have a MultivaluedMap parameter in 
> multipart/mixed Content Type
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4697
>                 URL: https://issues.apache.org/jira/browse/CXF-4697
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>            Reporter: William Tam
>         Attachments: CXF-4697.patch
>
>
> This issue looks like a regression of addressing 
> https://issues.apache.org/jira/browse/CXF-3292. MultipartProvider would 
> create a LinkedHashMap for a MultivaluedMap type parameter.  As a result 
> LinkedHashMap is not assignable to MultivaluedMap (same problem can be 
> expected for any Map that is not assignable from LinkedHashMap) and 
> IllegalArgumentException is thrown.
> Please review the attached patch (I believe that the intended fix of 
> CXF-3292) and testcase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to