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

Jason Gerlowski commented on SOLR-12427:
----------------------------------------

Sorry for letting this fall off my radar.  I've committed a slightly updated 
patch which moves the tests to TestDistributedSearch, where similar 
param-validation tests were added back in SOLR-7524.

I agree that it'd be nice to improve the error message coming out of {{getInt}} 
more generally, so it mentions the parameter name, but also agree that's best 
in a separate JIRA.  (If helping with this sort of change interests you, tag me 
on the JIRA if you create one.  I'm happy to help there as well.)  Again, 
apologies for the delay.

> Status 500 on Incorrect value for start and rows
> ------------------------------------------------
>
>                 Key: SOLR-12427
>                 URL: https://issues.apache.org/jira/browse/SOLR-12427
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Munendra S N
>            Assignee: Jason Gerlowski
>            Priority: Trivial
>         Attachments: SOLR-12427.patch, SOLR-12427.patch
>
>
> With SOLR-7254, 
> Cases, when start and rows are negatives, was handled but the case when an 
> invalid value is passed is not handled.
> Hence, Solr returns 500. It is better to return 400, as it is the client error



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