Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36DAD9A8E for ; Wed, 22 Feb 2012 15:10:16 +0000 (UTC) Received: (qmail 22915 invoked by uid 500); 22 Feb 2012 15:10:14 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 22836 invoked by uid 500); 22 Feb 2012 15:10:14 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 22829 invoked by uid 99); 22 Feb 2012 15:10:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 15:10:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 15:10:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B2A763347E6 for ; Wed, 22 Feb 2012 15:09:48 +0000 (UTC) Date: Wed, 22 Feb 2012 15:09:48 +0000 (UTC) From: =?utf-8?Q?J=C3=B6rg_Maier_=28Updated=29_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: <2089925448.4449.1329923388733.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <558911058.1749.1329720338249.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (SOLR-3144) Parameter marshalling is broken in Solrj JavaBinUpdateRequestCodec MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-3144?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] J=C3=B6rg Maier updated SOLR-3144: ----------------------------- Attachment: JavaBinUpdateRequestCodec.patch Attached patch. =20 > Parameter marshalling is broken in Solrj JavaBinUpdateRequestCodec=20 > ------------------------------------------------------------------- > > Key: SOLR-3144 > URL: https://issues.apache.org/jira/browse/SOLR-3144 > Project: Solr > Issue Type: Bug > Components: clients - java > Affects Versions: 4.0 > Reporter: J=C3=B6rg Maier > Fix For: 4.0 > > Attachments: JavaBinUpdateRequestCodec.patch > > > The parameter marshalling de-marshalling is broken in Solrj's JavaBinUpda= teRequestCodec.=20 > The bug can be reproduced by adding a parameter e.g. overwrite=3Dfalse as= parameter to the UpdateRequest. After desiarilizing on the backend side th= e value will be not "false" it will be "[false]" which results in an Except= ion in the backend and documents will not be imported. > This issue can easily be fixed by replacing the serialization method with= the correct one in SolrParams. See also this gist for a working version: h= ttps://gist.github.com/1853544 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org