Bugzilla – Attachment 90553 Details for
Bug 16750
Redirect from selectbranchprinter.pl to additem.pl causes software error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16750: Redirect from selectbranchprinter.pl to additem.pl causes software error
Bug-16750-Redirect-from-selectbranchprinterpl-to-a.patch (text/plain), 1.90 KB, created by
Katrin Fischer
on 2019-06-13 05:58:28 UTC
(
hide
)
Description:
Bug 16750: Redirect from selectbranchprinter.pl to additem.pl causes software error
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-06-13 05:58:28 UTC
Size:
1.90 KB
patch
obsolete
>From 44ae5e69e008dff1c163c949d74102122dc13812 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 16 Jun 2016 11:08:59 +0000 >Subject: [PATCH] Bug 16750: Redirect from selectbranchprinter.pl to additem.pl > causes software error >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >How to reproduce: >1) Edit and save an item in the items editor >2) You should be redirected back to the items editor, note that the >biblionumber is passed in the url >3) Choose "set library" from the upper right hand pulldown on the page >4) Choose a different library, click submit >5) You should get the error message: >Software error: > >Can't call method "fields" on an undefined value at >/home/vagrant/kohaclone/cataloguing/additem.pl line 736. > >Test Plan: >1) Apply this patch >2) Follow plan above >3) No software error should occur at step 5 > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 121ffc63b2..2dd65df7aa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -121,7 +121,7 @@ > <div class="col-sm-10"> > > <div id="cataloguing_additem_newitem"> >- <form id="f" method="post" action="/cgi-bin/koha/cataloguing/additem.pl" name="f"> >+ <form id="f" method="post" action="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber | html %]" name="f"> > <input type="hidden" name="op" value="[% op | html %]" /> > [% IF (popup) %] > <input type="hidden" name="popup" value="1" /> >-- >2.11.0
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 16750
:
52456
|
52462
|
52932
|
90462
| 90553