cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-4697) IllegalArgumentException thrown if I have a MultivaluedMap parameter in multipart/mixed Content Type
Date Thu, 13 Dec 2012 12:50:12 GMT

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

Sergey Beryozkin resolved CXF-4697.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.7.2
                   2.6.5
                   2.5.8
         Assignee: Sergey Beryozkin

William, thanks for the patch
                
> 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
>            Assignee: Sergey Beryozkin
>             Fix For: 2.5.8, 2.6.5, 2.7.2
>
>         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

Mime
View raw message