[Koha-bugs] [Bug 11183] Warnings in opac

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 11 04:05:58 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11183

--- Comment #9 from M. Tompsett <mtompset at hotmail.com> ---
This is how I tested it:

mtompset at ubuntu:~/kohaclone$ git reset --hard origin/master
HEAD is now at 0d5f73d Merge branch 'new/bug11205'
mtompset at ubuntu:~/kohaclone$ echo > ~/koha-dev/var/log/koha-opac-error_log

#### I then did a simple search 'unhappy'
#### and then clicked an entry know to not have the collection code set.

mtompset at ubuntu:~/kohaclone$ cat ~/koha-dev/var/log/koha-opac-error_log | cut
-c85- | sort -u

 opac-detail.pl: Use of uninitialized value $ccode in exists at
/home/mtompset/kohaclone/opac/opac-detail.pl line 576., referer:
http://demo.library.kohasystem.ca/cgi-bin/koha/opac-search.pl?idx=&q=unhappy&branch_group_limit=
 opac-search.pl: Use of uninitialized value $code_wanted in string eq at
/usr/share/perl5/MARC/Field.pm line 314., referer:
http://demo.library.kohasystem.ca/cgi-bin/koha/opac-detail.pl?biblionumber=14206&query_desc=kw%2Cwrdl%3A%20happy%20life
 opac-search.pl: Use of uninitialized value $limit_desc in concatenation (.) or
string at /home/mtompset/kohaclone/opac/opac-search.pl line 626., referer:
http://demo.library.kohasystem.ca/cgi-bin/koha/opac-detail.pl?biblionumber=14206&query_desc=kw%2Cwrdl%3A%20happy%20life
mtompset at ubuntu:~/kohaclone$ git bz apply 11183
Bug 11183 - Warnings in opac

22855 - bug_11183: get rid of some warninngs

Apply? [(y)es, (n)o, (i)nteractive] y
Applying: bug_11183: get rid of some warninngs
mtompset at ubuntu:~/kohaclone$ echo > ~/koha-dev/var/log/koha-opac-error_log 

#### I then did a simple search 'unhappy'
#### and then clicked an entry know to not have the collection code set.

mtompset at ubuntu:~/kohaclone$ cat ~/koha-dev/var/log/koha-opac-error_log | cut
-c85- | sort -u

 opac-search.pl: Use of uninitialized value $code_wanted in string eq at
/usr/share/perl5/MARC/Field.pm line 314., referer:
http://demo.library.kohasystem.ca/cgi-bin/koha/opac-detail.pl?biblionumber=13896&query_desc=kw%2Cwrdl%3A%20unhappy
mtompset at ubuntu:~/kohaclone$

Sorry, gmcharlt. I found a bug in MARC::Field. ;)
But not this. :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list