You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "William Tam (JIRA)" <ji...@apache.org> on 2012/12/13 02:13:21 UTC

[jira] [Created] (CXF-4697) IllegalArgumentException thrown if I have a MultivaluedMap parameter in multipart/mixed Content Type

William Tam created CXF-4697:
--------------------------------

             Summary: 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


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