[Koha-bugs] [Bug 21337] Add Koha::Patrons->delete (trivial wrapper)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 26 11:08:50 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21337

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #81252|0                           |1
        is obsolete|                            |

--- Comment #26 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 81257
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81257&action=edit
Bug 21337: (QA follow-up) On the road to a perfect delete

Adjusting Koha::Patrons->delete:
We should not throw an exception if we get a -1 from Patron->delete.
A zero should trigger an exception. And an undef too since it is probably
a DBIx exception..

Test plan:
Run t/db_dependent/Koha/Patrons.t

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list