[Koha-bugs] [Bug 21983] Deleting a bib does not delete a request's link to it - missing foreign key

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 14 17:13:15 CET 2018


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

Andrew Isherwood <andrew.isherwood at ptfs-europe.com> changed:

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

--- Comment #2 from Andrew Isherwood <andrew.isherwood at ptfs-europe.com> ---
Created attachment 83227
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83227&action=edit
Bug 21983: Add foreign key constraint on biblio_id

This patch adds a foreign key constraint on biblio_id, this means that,
amongst other things, if a bib is deleted that an ILL request is a
attached to, the ILL request is no longer attached to that bib.

Test plan:
- Apply the patch
- Create an ILL request, a bib should automatically be created for the
item being requested
- Note that when viewing the request, a link to the bib is displayed in
the ILL request list view
- Delete the bib
- Refresh the ILL request list view
- TEST => Note that the link to the bib no longer exists

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


More information about the Koha-bugs mailing list