You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Sami Siren (JIRA)" <ji...@apache.org> on 2012/06/14 06:38:42 UTC

[jira] [Created] (SOLR-3543) JavaBinLoader catches (and logs) exceptions and the (solrj)client has no idea that an update failed

Sami Siren created SOLR-3543:
--------------------------------

             Summary: JavaBinLoader catches (and logs) exceptions and the (solrj)client has no idea that an update failed
                 Key: SOLR-3543
                 URL: https://issues.apache.org/jira/browse/SOLR-3543
             Project: Solr
          Issue Type: Bug
          Components: update
            Reporter: Sami Siren
             Fix For: 4.0


When submitting docs to solr with the javabin wire format server responses with 200 ok even when there was an error. The exception is only logged at the server.

When using the xml format error is correctly reported back

--
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@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-3543) JavaBinLoader catches (and logs) exceptions and the (solrj)client has no idea that an update failed

Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren updated SOLR-3543:
-----------------------------

    Attachment: SOLR-3543.patch

here's a patch that adds a test for this and a proposed fix (which is just changing JavaBinLoader to not catch&log the exception)
                
> JavaBinLoader catches (and logs) exceptions and the (solrj)client has no idea that an update failed
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3543
>                 URL: https://issues.apache.org/jira/browse/SOLR-3543
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>            Reporter: Sami Siren
>             Fix For: 4.0
>
>         Attachments: SOLR-3543.patch
>
>
> When submitting docs to solr with the javabin wire format server responses with 200 ok even when there was an error. The exception is only logged at the server.
> When using the xml format error is correctly reported back

--
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@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Resolved] (SOLR-3543) JavaBinLoader catches (and logs) exceptions and the (solrj)client has no idea that an update failed

Posted by "Sami Siren (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sami Siren resolved SOLR-3543.
------------------------------

    Resolution: Fixed
    
> JavaBinLoader catches (and logs) exceptions and the (solrj)client has no idea that an update failed
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3543
>                 URL: https://issues.apache.org/jira/browse/SOLR-3543
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>            Reporter: Sami Siren
>             Fix For: 4.0
>
>         Attachments: SOLR-3543.patch
>
>
> When submitting docs to solr with the javabin wire format server responses with 200 ok even when there was an error. The exception is only logged at the server.
> When using the xml format error is correctly reported back

--
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@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org