From bugzilla-daemon@wilbur.katipo.co.nz Wed Jun 25 23:01:59 2003 From: bugzilla-daemon@wilbur.katipo.co.nz To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 511] New: "z3950 search" link always returns error, no popup window generated Date: Thu, 26 Jun 2003 06:00:56 +0000 Message-ID: <20030626060056.12148.qmail@wilbur.katipo.co.nz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6598936639595295528==" --===============6598936639595295528== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=3D511 Summary: "z3950 search" link always returns error, no popup window generated Product: Koha Version: 2.0.0 Platform: PC OS/Version: Linux - Redhat Status: NEW Severity: normal Priority: P2 Component: Acquisitions (Simple) AssignedTo: tonnesen@cmsd.bc.ca ReportedBy: box4email@yahoo.com QAContact: koha-bugs@lists.sourceforge.net I am a newbie and would like apologize firsthand if I am doing something=20 stupid and wasting the development team's time. Anyway, I have the same=20 problem with 1.9.3 and 2.0.0pre1. English install of koha-2.0.0pre1 on RedHat 8 pc from scratch, I let the=20 install script create a new empty database. =20 Fixed /usr/local/koha/intranet/htdocs/intranet- tmpl/default/en/acqui.simple/addbiblio.tmpl. Copied z3950 scripts to correct directory, edited /usr/local/koha/intranet/scripts/z3950daemon/z3950-daemon-shell.sh and /usr/local/koha/intranet/scripts/z3950daemon/z3950-daemon-launch.sh to fix path environment variables. Ran z3950-daemon-launch.sh from open shel= l=20 seems to run without complaining. aquistions =3D simple, marc =3D 1 (yes), marcflavour =3D MARC21 Using Internet Explorer 6.x on Win XP client Many functions seem to work OK but except: 1. Log in to Intranet, click on Acquisitions (cgi- bin/koha/acqui.simple/addbooks.pl), result OK 2. Enter valid ISBN in textbox on "To Add a new biblio/item" form, push GO=20 button, result OK. 3. Click on "Add New Biblio" link on Biblio Search Results (cgi- bin/koha/acqui.simple/isbnsearch.pl?isbn=3D0812505158&title=3D) 4. MARC Biblio form is returned (cgi-bin/koha/acqui.simple/addbiblio.pl? isbn=3D0812505158). 5. Click on "z3950 search" link and get (presumably JavaScript) runtime error= =20 on line 592; Error - Invalid argument. No popup window. 6. Here are a few snippets from the html source retured by addbiblio.pl/tmpl =09 =09 =09 =09 z3950 search function PopupZ3950(link,i) { var strQuery=3D""; for (i=3D0 ; i0) { strQuery +=3D "&isbn=3D"+document.forms[0].field_value [i].value; } if (document.forms[0].kohafield[i].value =3D=3D "biblio.title" &&=20 document.forms[0].field_value[i].value.length>0) { strQuery +=3D "&title=3D"+document.forms[0].field_value [i].value; } if (document.forms[0].kohafield[i].value =3D=3D "biblio.author"=20 &&document.forms[0].field_value[i].value.length>0) { strQuery +=3D "&author=3D"+document.forms[0].field_value [i].value; } if (document.forms[0].kohafield[i].value =3D=3D "biblioitems.issn"=20 && document.forms[0].field_value[i].value.length>0) { strQuery +=3D "&issn=3D"+document.forms[0].field_value [i].value; } } newin=3Dwindow.open("../z3950/search.pl?bibid=3D"+strQuery,"z3950=20 search",'width=3D500,height=3D400,toolbar=3Dfalse,scrollbars=3Dyes'); } Is the PopupZ3950 funtion expecting parameters and getting none passed? Wher= e=20 is the Link parameter even used in the function script? ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact. --===============6598936639595295528==--