[ 
https://issues.apache.org/jira/browse/SOLR-11263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881741#comment-16881741
 ] 

ASF subversion and git services commented on SOLR-11263:
--------------------------------------------------------

Commit 0752c07c1c65c8f1ce1c90e1c6f694e9a9509c64 in lucene-solr's branch 
refs/heads/branch_8x from Munendra S N
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=0752c07 ]

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to