#544: WebSearch: stronger washing of 'recid:' type of searches
-----------------------+---------------------
Reporter: lmarian | Owner: lmarian
Type: defect | Status: new
Priority: major | Milestone: v1.0
Component: WebSearch | Version:
Keywords: |
-----------------------+---------------------
Currently, searching for something like: 'recid:61foo' returns the record
61, although this should not really happen.
More intuitively it would be for this search to have the same result as
trying to access: '/recid/61foo', namely, record not found.
From apache.err, when trying to search for 'recid:61foo':
{{{
[Mon Mar 07 17:52:30 2011] [error] /usr/lib/python2.6/dist-
packages/invenio/dbquery.py:167: Warning: Truncated incorrect DOUBLE
value: '61foo'
[Mon Mar 07 17:52:30 2011] [error] rc = cur.execute(sql, param)
}}}
--
Ticket URL: <https://invenio-software.org/ticket/544>
Invenio <http://invenio-software.org>