Bug 4956

Summary: ordering from external doesn't let you search more than 2
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: AcquisitionsAssignee: Alex Arnaud <alex.arnaud>
Status: CLOSED WORKSFORME QA Contact: Bugs List <koha-bugs>
Severity: major    
Priority: P5 - low CC: gmcharlt, katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

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.