Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] [Updated] (SOLR-3144) Parameter marshalling is broken in Solrj JavaBinUpdateRequestCodec

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Feb 22, 2012, 7:09 AM

Post #1 of 1 (76 views)
Permalink
[jira] [Updated] (SOLR-3144) Parameter marshalling is broken in Solrj JavaBinUpdateRequestCodec

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

Jörg Maier updated SOLR-3144:
-----------------------------

Attachment: JavaBinUpdateRequestCodec.patch

Attached patch.

> Parameter marshalling is broken in Solrj JavaBinUpdateRequestCodec
> -------------------------------------------------------------------
>
> 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örg Maier
> Fix For: 4.0
>
> Attachments: JavaBinUpdateRequestCodec.patch
>
>
> The parameter marshalling de-marshalling is broken in Solrj's JavaBinUpdateRequestCodec.
> The bug can be reproduced by adding a parameter e.g. overwrite=false as parameter to the UpdateRequest. After desiarilizing on the backend side the value will be not "false" it will be "[false]" which results in an Exception 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: https://gist.github.com/1853544

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.