[Koha-bugs] [Bug 5004] New: Do not block deletion of cities when instances exist in borrowers table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 14 18:43:03 CEST 2010


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

           Summary: Do not block deletion of cities when instances exist
                    in borrowers table
 Change sponsored?: ---
           Product: Koha
           Version: HEAD
          Platform: All
               URL: /cgi-bin/koha/admin/cities.pl?op=delete_confirm
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: System Administration
        AssignedTo: paul.poulain at biblibre.com
        ReportedBy: oleonard at myacpl.org
         QAContact: koha-bugs at lists.koha-community.org
                CC: gmcharlt at gmail.com
   Estimated Hours: 0.0


When you try to delete a city Koha does a check for entries in the borrowers
table which match that city:

select count(*) as total from borrowers,cities where
borrowers.city=cities.city_name and cityid=?

But why shouldn't it be possible to delete a city whether or not there are
entries in borrowers? Nothing is preventing me from continuing to add patrons
with that city manually, typing in the city details myself.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list