[Koha-bugs] [Bug 18284] Biblio metadata are not moved to the deleted table when a biblio is deleted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 16 19:27:12 CET 2017


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 61184
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61184&action=edit
Bug 18284: (bug 17196 follow-up) Move biblio metadata when a biblio is deleted

There is a deletedbiblio_metadata table but it is not populated when a
biblio is deleted. Since we have a ON DELETE constraint on
biblio_metadata.biblionumber, the row is deleted when the biblio entry
is deleted => data lost!

Test plan:
- Create a biblio
- Delete it

=> Without this patch the deletedbiblio_metadata table is not populated
with the biblio_metadata row related to the biblio

=> With this patch applied you should see that the row has been moved.

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


More information about the Koha-bugs mailing list