[Koha-bugs] [Bug 6963] When creating a new order, the item isn't added if its barcode already exists in the items table.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 18 16:49:24 CEST 2011


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

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5947|0                           |1
        is obsolete|                            |

--- Comment #15 from Paul Poulain <paul.poulain at biblibre.com> 2011-10-18 14:49:24 UTC ---
Created attachment 5954
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5954
Follow-up patch : use the subfield associated with items.barcode

Instead of using the 'p' subfield directly, use the subfield letter
associated with the items.barcode column.

http://bugs.koha-community.org/show_bug.cgi?id=6963
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>

Test cases tested:
- 1 item, barcode empty
- 2 items, barcodes both empty
- 1 item, existing barcode
- 1 item, new barcode
- 2 items, one barcode empty, one existing

All test cases worked nicely and gave correct error messages.

Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>

-- 
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