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

            Bug ID: 27145
           Summary: Patron deletion via intranet doesn't handle exceptions
                    well
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
        Depends on: 14708

Bug 14708 introduced a try catch around $patron->delete in commit "Bug 14708:
(QA follow-up) Use try/catch blocks when calling
". However, in the catch block it only assumes the exception was from trying to
delete anonymous patron when it can be anything else as well, the code should
be modified so that it will handle the anonymous patron case and if it is
anything else we log the other exception.

Kyle, can you have a go at this?


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14708
[Bug 14708] The patron set as the anonymous patron should not be deletable
-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to