Bug 10484: serials-edit.pl not checking for barcode field before checking for barcode...
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 17 Jun 2013 16:28:13 +0000 (12:28 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 15 Jul 2013 18:04:38 +0000 (15:04 -0300)
commit1d9ac2b10a96800d301524978f00ee393b5bb75e
tree848c23991d8a28a65c688c80277eef7e13e28b6e
parent42d93d1e342d0f450fcbe80767be91a3bbba20ac
Bug 10484: serials-edit.pl not checking for barcode field before checking for barcode subfield

The script serials-edit.pl is not checking for the existence of the
barcode field before checking for barcode subfield for autoBarcode =
incremental. If the barcode field doesn't exist, the script dies with
errors.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and QA script.
Checked that adding items on serial receive still works.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 9af08e4e2d2091de489633b3f1c4fb03fcf323cd)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
serials/serials-edit.pl