]> git.koha-community.org Git - koha.git/commit
Bug 16204: Show friendly error message if trying to edit record which no longer exists
authorAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 30 Aug 2017 04:36:50 +0000 (04:36 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 23 Oct 2017 15:00:05 +0000 (17:00 +0200)
commit1766d21389a104948aba639921d987674cba3d6b
treedfbb3d5e994da728079c28b71505c574ddfa20b4
parent8cd8df19480a3765e54c3dcfb4948b097e7ea5ad
Bug 16204: Show friendly error message if trying to edit record which no longer exists

To test:
1) Create a record
2) Click Edit -> Edit record. open this in another tab
3) Delete the record in the original tab
4) Refresh the edit form in the other tab. Notice the software error
5) Apply patch and refresh page
6) There should be a nice error message with the form fields and buttons
hidden. Confirm links work as expected.

Sponsored-by: Catalyst IT
Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 17c5b76597b9a356bc215a3682d7293e307fcc46)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
cataloguing/addbiblio.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt