Bug 4956 - ordering from external doesn't let you search more than 2
Summary: ordering from external doesn't let you search more than 2
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low major
Assignee: Alex Arnaud
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 13:59 UTC by Nicole C. Engard
Modified: 2014-12-07 20:02 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicole C. Engard 2010-07-07 13:59:30 UTC
When ordering from an external source on acquisitions if you choose to search more than 2 targets you get a 500 error. I tried this on two installs of HEAD on two different servers with many different z39.50 targets before reporting this.
Comment 1 Owen Leonard 2010-07-07 15:17:48 UTC
Same results for me. Here's the error in my log:

z3950_search.pl: Use of uninitialized value in substitution (s///) at /home/oleonard/kohaclone/acqui/z3950_search.pl line 249.

From the script:

 248      my $oldbiblio = TransformMarcToKoha( $dbh, $marcrecord, "" );
 249      $oldbiblio->{isbn}   =~ s/ |-|\.//g,
 250      $oldbiblio->{issn} =~ s/ |-|\.//g,
Comment 2 Alex Arnaud 2012-06-11 09:10:51 UTC
I can't see the problem. Can you confirm it has been fixed ? So i could mark it as resolved.
Comment 3 Katrin Fischer 2014-03-15 08:06:15 UTC
I tried searching 3 targets at the same time and it worked without any error message.