[Koha-bugs] [Bug 5790] Deleting a biblio should alert/fail if there are existent holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 11 15:25:35 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5790

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15128|0                           |1
        is obsolete|                            |
  Attachment #15129|0                           |1
        is obsolete|                            |

--- Comment #35 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 15242
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15242&action=edit
Bug 5790 - Prevent deletion of records with holds [ 3.10.x ]

Test Plan:
1) Apply patch
2) Create a record
3) Create an item for the record
3) Place a hold on the bib
4) Attempt to 'Delete all items', you should recieve
   an error message stating to delete all holds before
   deleting all items.

Also, it is possible to get into a situation where a record has
holds but no items. In this situation, it is not possible to
view/delete the holds without adding an item back to the record.
In this case, attempting to delete the bib causes a warning, but
does not prevent deletion.

Signed-off-by: Liz Rea <liz at catalyst.net.nz>
Passes tests - do note that it was a design decision to leave the delete links
clickable even though they are grey.
The reasoning is that librarians will want to be able to know *why* they cannot
delete a given item or bib - I like this.

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>

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


More information about the Koha-bugs mailing list