Bugzilla – Attachment 41426 Details for
Bug 14660
Cataloguing plugins for generating inventory numbers are broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14660: Fix stocknumberAV.pl cataloguing plugin
Bug-14660-Fix-stocknumberAVpl-cataloguing-plugin.patch (text/plain), 1.40 KB, created by
Josef Moravec
on 2015-08-07 06:15:43 UTC
(
hide
)
Description:
Bug 14660: Fix stocknumberAV.pl cataloguing plugin
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2015-08-07 06:15:43 UTC
Size:
1.40 KB
patch
obsolete
>From 124dbf9305c98b3c643fe00cd1f95aebe699883b Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Fri, 7 Aug 2015 00:20:09 +0200 >Subject: [PATCH] Bug 14660: Fix stocknumberAV.pl cataloguing plugin > >The cataloguing plugin stocknumberAV.pl is broken and no >longer generating numbers - this patch fixes it. > >To test: >- Link a subfield to the plugin - usually it's 952$i or the UNIMARC > equivalent in your MARC frameworks >- Set up a new authorised value INVENTORY, the code is an uppercase > prefix - "B" >- The Descriptions is your starting number - 1 >- The OPAC description remains empty >- Catalalog an item >- Enter B as stocknumber and activate the plugin by clicking on > ... at the end of the field >- The number will not get added - Firebug shows an error: > Undefined subroutine CGI::output_html_with_http_headers >- Apply patch >- Verify numbers are now generated and no errors are shown > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > cataloguing/value_builder/stocknumberAV.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/cataloguing/value_builder/stocknumberAV.pl b/cataloguing/value_builder/stocknumberAV.pl >index 8eea7e1..8860060 100755 >--- a/cataloguing/value_builder/stocknumberAV.pl >+++ b/cataloguing/value_builder/stocknumberAV.pl >@@ -21,6 +21,7 @@ use Modern::Perl; > use C4::Auth; > use CGI qw ( -utf8 ); > use C4::Context; >+use C4::Output; > > =head1 DESCRIPTION > >-- >2.1.4
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 14660
:
41420
|
41421
|
41422
|
41423
|
41426
|
41427
|
41651
|
41652
|
41653