Solr throws 500 instead of 400 on some malformed requests
---------------------------------------------------------

                 Key: SOLR-1503
                 URL: https://issues.apache.org/jira/browse/SOLR-1503
             Project: Solr
          Issue Type: Bug
          Components: update
    Affects Versions: 1.3
            Reporter: Kyle Maxwell


If you submit a malformed xml document to update, Solr returns a 500 error.  
Clients often treat this as a failure in the server, but it's really a 400 
invalid request.  Trivial patch is attached, although there may be similar 
cases (i.e. malformed json) that are also worth investigating.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to