You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/03/16 20:12:13 UTC

[jira] [Resolved] (SOLR-1097) XmlUpdateRequestHandler gives NPE on wellformed but incorrect XML

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

Erick Erickson resolved SOLR-1097.
----------------------------------

    Resolution: Fixed

Just tried it in 4x, get message 
Unexpected <doc> tag without an <add> tag surrounding it.

                
> XmlUpdateRequestHandler gives NPE on wellformed but incorrect XML
> -----------------------------------------------------------------
>
>                 Key: SOLR-1097
>                 URL: https://issues.apache.org/jira/browse/SOLR-1097
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.3
>            Reporter: Hoss Man
>
> XmlUpdateRequestHandler has some really bad behavior when you send it Valid XML, but with elements that aren't what it's expecting.  we should add some more "error case" tests and make sure we're returning useful error messages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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