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

            Bug ID: 37341
           Summary: Koha should warn of circular invalid guarantor
                    relationships
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

To recreate:
1 - Define a patron category, say Juvenile, as "Can be guarantee"
2 - Find a patron in Juvenile category and assign a guarantor from Patron
category
3 - Update Patron category as "Can be guarantee"
4 - View Juvenile patron, no warning
5 - Edit patron, see warning "A guarantor cannot be a guarantee."
5 - Enable "TrackLastPatronActivityTriggers" for checkin and checkout
6 - Checkout an item to the Juvenile, KO, "Child patron cannot be a guarantor."
7 - Checkin the item "Child patron cannot be a guarantor."

In KTD we get a stack trace, in production we were seeing an error "Item not
checked in. Check the about page (Child patron cannot be a guarantor.)

We should add a warning on the child patrons details and checkout screen, and
possibly add a test on the about page

Possibly we should not allow the category to be updated if any existing patrons
are guarantors already

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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