Open garethrees opened 8 years ago
Another one on 2016-06-20
A RuntimeError occurred in request#list:
QueryParserError: Syntax: <expression> AND <expression>
lib/acts_as_xapian/acts_as_xapian.rb:483:in `parse_query'
-------------------------------
Request:
-------------------------------
* URL : https://www.whatdotheyknow.com/list/successful?utf8=%E2%9C%93&query=AND+sheffield&request_date_after=2014%2F09%2F01&request_date_before=2015%2F11%2F23&commit=Search
* HTTP Method: GET
* Parameters : {"utf8"=>"✓", "query"=>"AND sheffield", "request_date_after"=>"2014/09/01", "request_date_before"=>"2015/11/23", "commit"=>"Search", "view"=>"successful", "controller"=>"request", "action"=>"list"}
* Timestamp : 2016-06-20 07:39:31 +0100
Okay so that's strange – URL is exactly the same. I wonder if someone's linked to that search query?
Should handle these and show error to user so that they can correct their query: