Bug 3768

Summary: Bibliographic Framework Test: Everything OK, 1 error.
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: System AdministrationAssignee: Paul Poulain <paul.poulain>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: PATCH-Sent (DO NOT USE) CC: gmcharlt
Version: rel_3_0   
Hardware: PC   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Chris Cormack 2010-05-21 01:14:46 UTC


---- Reported by m.de.rooy@rijksmuseum.nl 2009-11-05 08:59:18 ----

The test gives OK on all subtests, but the last line says that there is one error and I should fix it. Fix what?

I discovered that I had an error on holdingbranch in one framework. The while loop in checkmarc.pl loops through all frameworks. It increments $total but the next loop the error flag in the template is reset back to zero.
Add a "last" statement after incrementing $total to resolve this bug in checkmarc.pl. (All other while loops in this script do the same.)



---- Additional Comments From gmcharlt@gmail.com 2010-05-17 12:29:12 ----

Patch pushed to HEAD.  Please test and close.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:14 UTC  ---

This bug was previously known as _bug_ 3768 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3768

Actual time not defined. Setting to 0.0