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

Event Timeline

Ludmila Marian <ludmila.marian@gmail.com> committed R3600:e72a92df6d36: WebSearch: fix get_fieldvalues() when recid is str (authored by Ludmila Marian <ludmila.marian@gmail.com>).Feb 20 2012, 14:28