Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Jonathan Druart 9af6c4e34b Bug 19080: Handle non-existing patrons gratefully
This is a recurrent bug we have over the last years. When a script is
called with non-existent borrowernumber it will crashes.
We need to handle this gracefully instead of letting the script crashes.

On bug 18403 a new subroutine is added to the codebase
(output_and_exit_if_error) to handle this kind of errors correctly.
Since it is not pushed yet, I propose to just redirect to a script that
handle it correctly (circulation.pl) instead of adding this message to
all these scripts.

Test plan:
Hit different scripts from the members module and pass a non-existent
borrowernumber.
You must be redirected to circulation.pl with a friendly message.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-08-25 11:03:37 -03:00
..
tables
boraccount.tt
deletemem.tt
discharge.tt
discharges.tt
files.tt Bug 18656 - Require confirmation of deletion of files from patron record 2017-06-12 11:11:13 -03:00
housebound.tt
mancredit.tt
maninvoice.tt
member-flags.tt
member-password.tt
member.tt Bug 18551: followup - hide advanced filters in header, move hidding to css file 2017-05-19 10:49:53 -04:00
memberentrygen.tt Bug 18685: (bug 18551 follow-up) Fix patron toolbar 2017-06-14 14:36:28 -03:00
members-update.tt Bug 18703 - Translatability: Resolve some remaining %%] problems for staff client in 6 Files 2017-06-16 17:04:08 -03:00
moremember-brief.tt
moremember-print.tt
moremember-receipt.tt
moremember.tt Bug 18469: QA Follow-up 2017-08-15 12:17:43 -03:00
nl-search.tt
notices.tt Bug 18439 - Resend button for notices being hidden by CSS and never unhidden 2017-04-21 07:32:23 -04:00
pay.tt
paycollect.tt
printfeercpt.tt
printinvoice.tt
purchase-suggestions.tt
readingrec.tt
routing-lists.tt
statistics.tt Bug 19080: Handle non-existing patrons gratefully 2017-08-25 11:03:37 -03:00
update-child.tt