[Koha-bugs] [Bug 10890] Autobarcode "<branch>yymm00001" Fails in Acquisitions When Receiving Item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 16 05:48:35 CEST 2013


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

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
Created attachment 21111
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21111&action=edit
Bug 10890 - Autobarcode "<branch>yymm00001" Fails in Acquisitions When
Receiving Item

This patch adds the name "f" to the form that adds items when placing or
receiving
an order in Acquisitions.

This is needed so that the autobarcode code (which uses document.f.field_name)
will
work properly when the system preference is set to "<branch>yymm00001".

AcqCreateItem
"placing an order"
"receiving an order"

TEST PLAN

1) Set the autobarcode system preference to "<branch>yymm00001"
2) Set the AcqCreateItem system preference to "placing an order"
3) Plan an order
4) Try to add a barcode to the item in the AJAX form
5) Note that no barcode appears. Depending on your browser, you might
receive a Javascript error popup message or a error icon at the bottom
of your screen. You might receive no error message at all and it will
fail seemingly silently.

6) Set the AcqCreateItem system preference to "receiving an order"
7) Receive the order
8) Try to add a barcode to the item in the AJAX form
9) See step 5. No barcode will appear and you might get an error message.

10) Apply the patch
11) Repeat steps 2, 3, 4, 6, 7, and 8 again. That is, try to add
barcodes when placing an order and receiving an order.
12) Note that a barcode now appears with the pattern of <branch>yymm00001

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list