Bugzilla – Attachment 37910 Details for
Bug 14001
Inventory has bad $_ references
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14001 - Inventory tool is not plack friendly
Bug-14001---Inventory-tool-is-not-plack-friendly.patch (text/plain), 994 bytes, created by
Mark Tompsett
on 2015-04-15 16:45:49 UTC
(
hide
)
Description:
Bug 14001 - Inventory tool is not plack friendly
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2015-04-15 16:45:49 UTC
Size:
994 bytes
patch
obsolete
>From 0c4a8ca89f8aed27e863b587e676b454bba317f5 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 15 Apr 2015 12:33:29 -0400 >Subject: [PATCH] Bug 14001 - Inventory tool is not plack friendly > >After receiving an error while attempt a simple inventory run, >Line 297 was changed from: > ...$_->... >to > ...$item->... >since the loop variable is $item. > >TEST PLAN >--------- >1) Do what is described in comment #1 > -- *kaboom* >2) apply the patch on the kohadevbox >3) re-attempt > -- success! >4) run koha qa test tools >--- > tools/inventory.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/inventory.pl b/tools/inventory.pl >index b8cc31d..75ad597 100755 >--- a/tools/inventory.pl >+++ b/tools/inventory.pl >@@ -294,7 +294,7 @@ foreach my $item ( @scanned_items ) { > } > > # Modify date last seen for scanned items >- ModDateLastSeen($_->{'itemnumber'}); >+ ModDateLastSeen($item->{'itemnumber'}); > $moddatecount++; > } > >-- >1.9.1
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 14001
:
37910
|
37924
|
39641
|
39642
|
39643
|
40117
|
40118
|
40164