[Koha-bugs] [Bug 27144] Cannot delete any patrons
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 3 17:55:28 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27144
--- Comment #5 from Andrew Nugged <nugged at gmail.com> ---
(In reply to Jonathan Druart from comment #4)
> (In reply to Joonas Kylmälä from comment #3)
> > This might have caused some corruption/duplicated data in the DB, to check
> > if you have any use:
> >
> > > select count(*) FROM deletedborrowers WHERE borrowernumber IN (SELECT borrowernumber FROM borrowers);
>
> Why, can you detail please?
deletedborrowers pollution happens because first "$patron->move_to_deleted;"
succeeds, but then try/catch with "$patron->delete" fails, keeping those
deleted records as duplicates.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list