You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2019/02/05 15:36:00 UTC
[jira] [Updated] (SOLR-12330) JSON Facet syntax errors are
responded as runtime exceptions with 500 code
[ https://issues.apache.org/jira/browse/SOLR-12330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mikhail Khludnev updated SOLR-12330:
------------------------------------
Description:
Just encounter such weird behaviour, will recheck and followup.
\{{"filter":["\{!v=$bogus}"]}} responds back with just NPE which makes impossible to guess the reason.
-It might be even worse, since- \{{"filter":[\{"param":"bogus"}]}} seems like just silently ignored. Turns out it's ok see SOLR-9682
was:
Just encounter such weird behaviour, will recheck and followup.
{{"filter":["\\{!v=$bogus}"]}} responds back with just NPE which makes impossible to guess the reason.
-It might be even worse, since- {{"filter":[\\{"param":"bogus"}]}} seems like just silently ignored. Turns out it's ok see SOLR-9682
Summary: JSON Facet syntax errors are responded as runtime exceptions with 500 code (was: Referencing non existing parameter in JSON Facet "filter" (and/or other NPEs) either reported too little )
> JSON Facet syntax errors are responded as runtime exceptions with 500 code
> --------------------------------------------------------------------------
>
> Key: SOLR-12330
> URL: https://issues.apache.org/jira/browse/SOLR-12330
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Facet Module
> Affects Versions: 7.3
> Reporter: Mikhail Khludnev
> Assignee: Mikhail Khludnev
> Priority: Major
> Attachments: SOLR-12330-combined.patch, SOLR-12330.patch, SOLR-12330.patch, SOLR-12330.patch, SOLR-12330.patch, SOLR-12330.patch, SOLR-12330.patch, SOLR-12330.patch
>
>
> Just encounter such weird behaviour, will recheck and followup.
> \{{"filter":["\{!v=$bogus}"]}} responds back with just NPE which makes impossible to guess the reason.
> -It might be even worse, since- \{{"filter":[\{"param":"bogus"}]}} seems like just silently ignored. Turns out it's ok see SOLR-9682
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org