]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Sep 2017 14:47:33 +0000 (11:47 -0300)
commit17c5b76597b9a356bc215a3682d7293e307fcc46
tree0a365fc1f4929ef99508c0614bb8e371e7dc2bba
parenta59eaa5277b60055df216373247efc654551d579
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>
cataloguing/addbiblio.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt