Ticket #1505 (closed defect: fixed)
SearchError and SearchQueryError cause exception in Action API
Reported by: | dread | Owned by: | dread |
---|---|---|---|
Priority: | minor | Milestone: | ckan-sprint-2011-12-05 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
This query caused ckan to except because ckan/controllers/api.py doesn't catch SearchError? and SearchQueryError?:
curl http://localhost:5000/api/action/package_search -d '{"sort": "metadata_modified"}'
Change History
Note: See
TracTickets for help on using
tickets.
Also added tests for search_package api. Done in cset:edde51c aiming for release 1.5.2.