[Koha-bugs] [Bug 30944] Recalls - action buttons to cancel recall on various pages do not work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 16 11:13:22 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30944

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart+koha at gmail.
                   |                            |com
           Severity|normal                      |major

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to David Nind from comment #0)

>    c. In addition, after you press "Cancel...":
>      - the URL changes to
> http://127.0.0.1:8081/cgi-bin/koha/recalls/request.pl 
>      - clicking on normal (or any other tab gives you the message "The
> record you requested does not exist ()." 
>      - URL is
> http://127.0.0.1:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=

Can be fixed with:
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt
b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt
index 2f4a573cf8d..3fcc9d8ea9e 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/recalls/request.tt
@@ -29,6 +29,7 @@
         [% IF recalls.count %]
             <form method="post" action="/cgi-bin/koha/recalls/request.pl">
                 <input type="hidden" name="op"
value="cancel_multiple_recalls">
+                <input type="hidden" name="biblionumber" value="[%
biblio.biblionumber | html %]">
                 <input type="checkbox" id="select_all"> <span
id="select_all_text">Select all</span>
                 [% INCLUDE 'recalls.inc' %]
                 <fieldset class="action">


> 3. Once a recall is made, and checked in: 
>    . From Circulation > Recalls > Recalls to pull: select "Cancel recall and
> return to: Centerville: generates this error:
>    
>    DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
> execute failed: Data truncated for column 'reason' at row 1 at
> /kohadevbox/koha/Koha/Object.pm line 170
>  at /usr/share/perl5/DBIx/Class/Exception.pm line 77
>  .....

branchtransfers.cancellation_reason does not contain 'RecallCancellation' (but
'CancelRecall')

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list