[Koha-bugs] [Bug 6637] New: UNIMARC 010 plugin, decoding isbn wrong

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 27 15:07:16 CEST 2011


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

             Bug #: 6637
           Summary: UNIMARC 010 plugin, decoding isbn wrong
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Cataloging
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: paul.poulain at biblibre.com
         QAContact: koha-bugs at lists.koha-community.org
                CC: ian.walls at bywatersolutions.com


There is an error is splitting the isbn for country/editor/number/control
number
When the 1st number is <=7, the 1st digit is the country and is counted as size
0, it's a bug, should be size = 1

Step to reproduce :
* have a isbn being X-Y-ZZZZZZZZ-C, and an editor already saved in a biblio
* have an isbn being X-U-EEEEEEEE-C (where only X is the same), and an editor
* enter XYTTTTTTTTD in cataloguing (where X and Y are the same, other are
differents)
* the publisher should appear automatically, it does not (you should get the
one attached to X-U-EEEEEEEE-C)

After the patch : works fine

Note that if X-Y-ZZZZZZZ-C is 1st in your database (before X-U-EEEEEEEE-C) it
will work as without the patch, but it's just you're lucky.

overall, it's very hard to reproduce for a 1 line patch ;-)

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list