Homec4science

WebSearch: fix OverflowError in /record/recid URLs

Description

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)

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Aug 11 2011, 11:13
Parents
R3600:bec26208e6b0: WebSearch: display Discussion(N) in tab header
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:40f7aa08f064: WebSearch: fix OverflowError in /record/recid URLs (authored by Raquel Jimenez Encinar <raquel.jimenez.encinar@cern.ch>).Aug 11 2011, 11:13