Bugzilla – Attachment 75058 Details for
Bug 20477
Silence warnings Fast Cataloguing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20477: Silence floody noise on fast cataloging
Bug-20477-Silence-floody-noise-on-fast-cataloging.patch (text/plain), 2.24 KB, created by
Marcel de Rooy
on 2018-05-04 09:45:18 UTC
(
hide
)
Description:
Bug 20477: Silence floody noise on fast cataloging
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-05-04 09:45:18 UTC
Size:
2.24 KB
patch
obsolete
>From c449929419b349cbf97659db0e2e09198b71f1a6 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 26 Mar 2018 19:14:44 +0000 >Subject: [PATCH] Bug 20477: Silence floody noise on fast cataloging >Content-Type: text/plain; charset=utf-8 > >TEST PLAN >--------- >See comment #0 to reproduce. >apply this patch >restart_all > >echo | sudo tee /var/log/koha/kohadev/place-error.log >restart_all >cat /var/log/koha/kohadev/plack-error.log >-- just restart information > >log into staff client again, home -> circulation -> fast cataloging > >cat /var/log/koha/kohadev/plack-error.log >-- just restart information > >run qa test tools > >Signed-off-by: Roch D'Amour <roch.damour@inlibro.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > cataloguing/addbiblio.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index 0f40ecd..75db464 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -284,7 +284,7 @@ sub create_input { > > # if there is no value provided but a default value in parameters, get it > if ( $value eq '' ) { >- $value = $tagslib->{$tag}->{$subfield}->{defaultvalue}; >+ $value = $tagslib->{$tag}->{$subfield}->{defaultvalue} // q{}; > > # get today date & replace <<YYYY>>, <<MM>>, <<DD>> if provided in the default value > my $today_dt = dt_from_string; >@@ -688,7 +688,7 @@ my $biblionumber = $input->param('biblionumber'); # if biblionumber exists, it' > my $parentbiblio = $input->param('parentbiblionumber'); > my $breedingid = $input->param('breedingid'); > my $z3950 = $input->param('z3950'); >-my $op = $input->param('op'); >+my $op = $input->param('op') // q{}; > my $mode = $input->param('mode'); > my $frameworkcode = $input->param('frameworkcode'); > my $redirect = $input->param('redirect'); >@@ -705,7 +705,7 @@ my $fa_duedatespec = $input->param('duedatespec'); > > my $userflags = 'edit_catalogue'; > >-my $changed_framework = $input->param('changed_framework'); >+my $changed_framework = $input->param('changed_framework') // q{}; > $frameworkcode = &GetFrameworkCode($biblionumber) > if ( $biblionumber and not( defined $frameworkcode) and $op ne 'addbiblio' ); > >-- >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 20477
:
73292
|
74178
| 75058