#488: Fix OverflowError in /record/{recid} URLs
------------------------+-----------------------
Reporter: jcaffaro | Owner: rajimene
Type: defect | Status: closed
Priority: major | Milestone:
Component: WebSearch | Version:
Resolution: fixed | Keywords: intbitset
------------------------+-----------------------
Changes (by Raquel Jimenez Encinar <raquel.jimenez.encinar@…>):
* status: in_merge => closed
* resolution: => fixed
Comment:
In [40f7aa08f0642e42c6b785128f994ea0ce8b194d]:
{{{
#!CommitTicketReference repository=""
revision="40f7aa08f0642e42c6b785128f994ea0ce8b194d"
WebSearch: fix OverflowError in /record/recid URLs
* Checks if the input recid is greater than intbitset.__maxelem__.
In this case (e.g. /record/2147483649), let us display
page not found like for the cases /record/56foo, /record/-5, or
/record/0, instead of generating an OverflowError exception
to the admin. (closes #488)
}}}
--
Ticket URL: </ticket/488#comment:5>
Invenio <http://invenio-software.org>