Bugzilla – Attachment 21370 Details for
Bug 10305
_increment_barcode is called twice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10305 - _increment_barcode is called twice
Bug-10305---incrementbarcode-is-called-twice.patch (text/plain), 1.23 KB, created by
Marcel de Rooy
on 2013-09-23 12:31:46 UTC
(
hide
)
Description:
Bug 10305 - _increment_barcode is called twice
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-09-23 12:31:46 UTC
Size:
1.23 KB
patch
obsolete
>From 3f14be07c9f246c56ab345e19ac3a93177dea4b0 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 21 May 2013 15:58:44 -0400 >Subject: [PATCH] Bug 10305 - _increment_barcode is called twice >Content-Type: text/plain; charset=utf-8 > >For some reason, _increment_barcode is called twice in succession in >cataloguing/additem.pl > >Test Plan: >1) Enable autobarcode = incremental >2) Catalog an item, not the barcode >3) Apply this patch >4) Catalog another item, the barcode should be the next in line > as previously. No change should be noted. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > cataloguing/additem.pl | 5 ----- > 1 files changed, 0 insertions(+), 5 deletions(-) > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 0893f23..a819019 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -402,11 +402,6 @@ if ($op eq "additem") { > $record = _increment_barcode($record, $frameworkcode); > } > >- >- if (C4::Context->preference('autoBarcode') eq 'incremental') { >- $record = _increment_barcode($record, $frameworkcode); >- } >- > my $addedolditem = TransformMarcToKoha( $dbh, $record ); > > # If we have to add or add & duplicate, we add the item >-- >1.7.7.6
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10305
:
18281
|
20227
| 21370