You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/07/10 05:13:00 UTC
[jira] [Commented] (SOLR-11263) Payload function throws NPE for
undefined fields
[ https://issues.apache.org/jira/browse/SOLR-11263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881734#comment-16881734 ]
ASF subversion and git services commented on SOLR-11263:
--------------------------------------------------------
Commit 8322ea55f4f227c06948142909f35b162c607ff8 in lucene-solr's branch refs/heads/master from Munendra S N
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=8322ea5 ]
SOLR-11263: add test for payload func with undefined field
Payload func with undefined used to throw NPE. In SOLR-11610, this
was fixed to return proper error but there are no tests to verify
changed the behavior.
This add simple test to verify error code and error message
> Payload function throws NPE for undefined fields
> ------------------------------------------------
>
> Key: SOLR-11263
> URL: https://issues.apache.org/jira/browse/SOLR-11263
> Project: Solr
> Issue Type: Bug
> Affects Versions: 6.6
> Reporter: Ishan Chattopadhyaya
> Priority: Major
> Attachments: SOLR-11263.patch
>
>
> With an undefined field used with the payload function query, there's an NPE thrown. Maybe we should throw a meaningful message instead.
--
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