[koha-commits] main Koha release repository branch new/bug_6448 created. v3.08.00-566-g6271f9b

Git repo owner gitmaster at git.koha-community.org
Thu Aug 2 18:50:27 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, new/bug_6448 has been created
        at  6271f9b6c45e8c07cd2c0065884cb2311187d40a (commit)

- Log -----------------------------------------------------------------
commit 6271f9b6c45e8c07cd2c0065884cb2311187d40a
Author: Paul Poulain <paul.poulain at biblibre.com>
Date:   Thu Aug 2 18:49:59 2012 +0200

    Bug 6448 follow-up, DBrev number

commit 28e5427c600a2cfcf20c294713eb625b4b967f3a
Author: Dobrica Pavlinusic <dpavlin at rot13.org>
Date:   Wed Mar 28 14:43:35 2012 +0200

    Bug 6448 [2/3] Barcodes::EAN13 autoBarcode
    
    Implement auto-incrementing EAN-13 barcodes
    
    To make this work, C4::Barcodes::next was modified to call process_tail with
    new incremented value so that process_tail can generate correct checksum.
    Since process_tail is currenlty not used by any barcodes, this change is safe.
    
    C4::Barcodes is used by addbiblio.pl when adding multiple records, while value_builder
    is used in all other cases.
    
    Test scenario:
    
    1. prove t/Barcodes_EAN13.t
    
    2. KOHA_CONF=/etc/koha/sites/fer/koha-conf.xml prove t/db_dependent/Barcodes.t
       this will check C4::Barcode implementataion
    
    3. in systempreference change autoBarcode to incremental EAN-13 barcode
    
    4. edit two items of any biblio assigning barcodes and verify that numbers
       are increasing. Have in mind that last digit is check digit, and it
       doesn't increment, but is calculated from barcode itself. Example with
       checksum in brackets: 000000086275[2], 000000086276[9], 000000086277[6]
    
    5. Add Item and verify that it gets assigned next barcode
    
    6. Add & Duplicate item and verify barcode increase
    
    7. Add Multiple Copies and verify that barcode increase for each copy
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>

commit 089b1151f5d9222e7171060b9d352e2a22a1be2b
Author: Dobrica Pavlinusic <dpavlin at rot13.org>
Date:   Wed Mar 28 00:38:34 2012 +0200

    Bug 6448 [1/3] EAN-13/UPC-A itemBarcodeInputFilter
    
    This filter which check validity of EAN-13 barcode and padd it with zeros
    up to full 13 digit number. This will also expand 12 digit UPC-A barcodes
    to EAN-13 automatically which is useful for older barcode readers which tend
    to ignore first zero in EAN-13 if they have just UPC-A support.
    
    It should be noted that EAN-13 or UPC-A product codes printed on books are not
    good choice for barcodes in Koha since each item has to have unique barcode.
    
    Test scenario:
    
    1. prove t/Circulation_barcodedecode.t
       this checks expansion of 12 digit UPC-A to 13 digit EAN-13 and zero padding
    
    2. in systempreferences search for itemBarcodeInputFilter and select EAN-13
    
    3. edit one item and assign it valid EAN-13 barcode, eg. 0000000695152, check it out
    
    4. test checkin with just 695152 to test leading zero expansion
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

commit 18d4772323e8b7b248c2f2f1486d6e216e9d6aae
Author: Dobrica Pavlinusic <dpavlin at rot13.org>
Date:   Sat Jun 4 14:23:20 2011 +0200

    Bug 6448 [3/3] EAN-13 barcode labels
    
    Current implementation doesn't scale barcodes because low-price
    CCD barcode readers are very sensitive about size
    
    Test scenario:
    
    1. in Tools > Labels create or edit Layout and select EAN13 as barcode
       type
    
    2. export one of existing batches using EAN13 layout and verify that
       generated pdf file contains barcodes
    
    3. print pdf file and test it with barcode reader
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

-----------------------------------------------------------------------


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list