Al - be sure to post this to JIRA so it can be tracked and not lost in email.

Andrew

On Tue, Apr 21, 2009 at 4:09 PM, Alan Rykhus <alan.rykhus@mnsu.edu> wrote:
Hello,

In working with using POST's to fix long searches I found a bug in the
Solr.php file. In the function _call if there was an array of values for
a particular parameter name(ie. facets.field) in the params array when
using a POST method, only the last value was assigned to the parameter
name. The code looped through the values assigning them and overwriting
the previous value.

In looking at the Pear HTTP_Request addPostData function, I could see
that it handled an array of values for an individual parameter name. So
the fix was to strip out some code and let Pear handle it, assigning the
array to the particular named parameter.

I've attached a patch.

al
--
Alan Rykhus
PALS, A Program of the Minnesota State Colleges and Universities
(507)389-1975
alan.rykhus@mnsu.edu

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Vufind-tech mailing list
Vufind-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vufind-tech