Homec4science

WebSearch: fix get_fieldvalues() when recid is str

Authored by Ludmila Marian <ludmila.marian@gmail.com> on Mar 1 2011, 19:44.

Description

WebSearch: fix get_fieldvalues() when recid is str

  • recid might be string, so try to convert it to int in the get_fieldvalues function (needed for WebSubmit, major user of this function, which calls it in many different places with a string argument instead of int).
  • Add test case to be sure that we do not remove this conversion in the future.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Mar 3 2011, 10:36
Parents
R3600:0e2c67dbb4de: BibUpload: fix missing cgi import
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:705bb7160ce9: WebSearch: fix get_fieldvalues() when recid is str (authored by Ludmila Marian <ludmila.marian@gmail.com>).Mar 3 2011, 10:36