#104: recid regexes grab too much
-----------------------+----------------------------------------------------
Reporter: jblayloc | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: WebSearch | Version:
Keywords: |
-----------------------+----------------------------------------------------
Cf. RT Ticket #84773.
The regexes (probably in search_engine_query_parser) that extract recid
grab too much, and try to cast a string into an int and fail
spectacularly.
Probably better would be to make the regex more specific.
Although it's not immediately obvious why we should be casting the string
of digits into a python int in the first place.
--
Ticket URL: <http://cdswaredev.cern.ch/invenio/ticket/104>
Invenio <http://invenio-software.org>