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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to