lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-2482) DataImportHandler; reload-config; response in case of failure & further requests
Date Fri, 03 Aug 2012 15:06:03 GMT

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

James Dyer resolved SOLR-2482.
------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
         Assignee: James Dyer

Fixed as part of SOLR-2115.
                
> DataImportHandler; reload-config; response in case of failure & further requests
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-2482
>                 URL: https://issues.apache.org/jira/browse/SOLR-2482
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler, web gui
>            Reporter: Stefan Matheis (steffkes)
>            Assignee: James Dyer
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: reload-config-error.html
>
>
> Reloading while the config-file is valid is completely fine, but if the config is broken
- the Response is plain HTML, containing the full stacktrace (see attachment). further requests
contain a {{status}} Element with ??DataImportHandler started. Not Initialized. No commands
can be run??, but respond with a HTTP-Status 200 OK :/
> Would be nice, if:
> * the response in case of error could also be xml formatted
> * contain the exception message (in my case ??The end-tag for element type "entity" must
end with a '&gt;' delimiter.??) in a seperate field
> * use a better/correct http-status for the latter mentioned requests, i would suggest
{{503 Service Unavailable}}
> So we are able to display to error-message to the user, while the config gets broken
- and for the further requests we could rely on the http-status and have no need to check
the content of the xml-response.

--
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


Mime
View raw message