Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 74356 invoked from network); 26 Nov 2010 18:15:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Nov 2010 18:15:36 -0000 Received: (qmail 93929 invoked by uid 500); 26 Nov 2010 18:15:36 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 93881 invoked by uid 500); 26 Nov 2010 18:15:35 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 93873 invoked by uid 99); 26 Nov 2010 18:15:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 18:15:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Nov 2010 18:15:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAQIFEJv022776 for ; Fri, 26 Nov 2010 18:15:15 GMT Message-ID: <33109771.326741290795314720.JavaMail.jira@thor> Date: Fri, 26 Nov 2010 13:15:14 -0500 (EST) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Subject: [jira] Updated: (CXF-2958) CXF JAXRS Proxies can not handle explicilt collections of query and matrix parameters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin updated CXF-2958: ---------------------------------- Component/s: JAX-RS > CXF JAXRS Proxies can not handle explicilt collections of query and matrix parameters > ------------------------------------------------------------------------------------- > > Key: CXF-2958 > URL: https://issues.apache.org/jira/browse/CXF-2958 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 2.2.10 > Reporter: Sergey Beryozkin > > Client proxies fail to serialize explicit collections of query and matrix parameters, ex > doIt(@QueryParam("id") List ids) > Possible fix : > In AbstractClient.addParametersToBuilder : > there's a branch there > if (!"".equals(paramName)) { > addToBuilder(ub, paramName, pValue, pt); > } > I think it has to be something like : > if (!"".equals(paramName)) { > if (InjectionUtils.isSupportedCollectionOrArray(pValue.getClass())) { > // cast pValue to Collection and for every member > addToBuilder(ub, paramName, pValue, pt); > } else { > addToBuilder(ub, paramName, pValue, pt); > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.