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 Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
boraccount.tt Bug 18263: Make use of syspref 'CurrencyFormat' for Account and Pay fines tables 2017-03-31 13:47:41 +00:00
deletemem.tt Bug 17404: Patron deletion page: Fix title and breadcrumb 2016-10-21 15:11:37 +00:00
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 Bug 17847: Replace C4::Koha::GetAuthvalueDropbox with Koha::AuthorisedValues 2017-03-31 10:12:37 +00:00
mancredit.tt
maninvoice.tt Bug 17014: Simplify some code 2017-03-31 14:33:52 +00:00
member-flags.tt Bug 17905: FIX CSRF in member-flags 2017-01-30 11:24:12 +00:00
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 Bug 17014 - Remove more event attributes from patron templates 2017-03-31 14:33:51 +00:00
moremember-receipt.tt Bug 17014 - Remove more event attributes from patron templates 2017-03-31 14:33:51 +00:00
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 Bug 18263: Make use of syspref 'CurrencyFormat' for Account and Pay fines tables 2017-03-31 13:47:41 +00:00
paycollect.tt Bug 17014 - Remove more event attributes from patron templates 2017-03-31 14:33:51 +00:00
printfeercpt.tt Bug 17014 - Remove more event attributes from patron templates 2017-03-31 14:33:51 +00:00
printinvoice.tt Bug 17014 - Remove more event attributes from patron templates 2017-03-31 14:33:51 +00:00
purchase-suggestions.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
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