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

Katrin Fischer <[email protected]> changed:

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

--- Comment #4 from Katrin Fischer <[email protected]> 2011-10-08 
20:22:51 UTC ---
Created attachment 5806
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=5806
[SIGNED-OFF] Corrects a problem when a new order is created with a duplicate
barcode.

If the AcqCreateItem preference is set to "ordering" and the barcode for
the new item is already in use, no error is returned, but an invalid
itemnumber is saved in the aqorders_items table and the item is never
created.

This patch adds a duplicate barcode verification in neworderempty.pl
_koha_add_item is also modified so it won't return an invalid ID when
an item can't be added.

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

Signed-off-by: Katrin Fischer <[email protected]>
1) Set AcqCreateItem on 'on order'
2) Make sure barcode was available in my ACQ framework
3) Create a new basket, first order, barcode 'barc'
4) create a second order in that basket, tried again with 'barc'
-> Alert message informs about the duplicate barcode
5) Change the barcode to be something else and saved
New record with item should be correctly created

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