https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38841 Thibault Keromnès <thibault.keromnes@univ-paris8.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #176200|0 |1 is obsolete| | --- Comment #2 from Thibault Keromnès <thibault.keromnes@univ-paris8.fr> --- Created attachment 176500 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=176500&action=edit Bug 38841: Check non-patron guarantor while deleting patron guarantor When editing a child while Childneedsquarantor active, trying to delete a guarantor while saving a non-patron guarantor will prevent the user from saving. However, if an adult has expired, some librarian would like to remove the account and let some information in non-patron guarantor. TEST PLAN Before applying patch 1 - Open Lisa Charles'page, add Henry Acevedo as Guarantor, also fill Guarantor surname and firstname 2 - Edit the page and try and remove Henry Acevedo, it won't work however there is still one guarantor 3 - Apply patch 4 - Try and remove Henry Acevedo -> it will work 5 - add HA as a guarantor again 6 - try and remove him AND let guarantor firstname and surname empty -> you can't 7 - Add HA and Edna Acosta as guarantor 8 - Remove HA and ler guarantor firstname and surname empty -> you can Signed-off-by: Thibault Keromnes <thibault.keromnes@univ-paris8.fr> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.