[Koha-bugs] [Bug 8714] New: Poorly ordered and triggers warning in marctagstructure.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 3 06:21:26 CEST 2012


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

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 8714
                CC: gmcharlt at gmail.com
          Assignee: koha-bugs at lists.koha-community.org
           Summary: Poorly ordered and triggers warning in
                    marctagstructure.pl
          Severity: trivial
    Classification: Unclassified
                OS: All
          Reporter: mtompset at hotmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: System Administration
           Product: Koha

Found this in 3.6.3, but it applies to 3.6.x, 3.8.x, and master.
1) Log in to staff client
2) Click 'Koha administration'
3) Click 'MARC Bibliographic framework'
4) Choose a framework and click 'MARC structure'
5) Check 'Display only used Tags/Subfields'
6) Check koha error log
[Mon Sep 03 12:06:06 2012] [error] [client 192.168.100.2] [Mon Sep  3 12:06:06
2012] marctagstructure.pl: Use of uninitialized value in numeric eq (==) at
/usr/share/koha/intranet/cgi-bin/admin/marctagstructure.pl line 284., referer:
https://.../cgi-bin/koha/admin/marctagstructure.pl

284 is the bottom of the loop, but the top of the loop had "and boundary check"
logic instead of "boundary check and" logic. Correcting this ordering problem
fixed the bug.

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


More information about the Koha-bugs mailing list