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

            Bug ID: 39532
           Summary: Script debar_patrons_with_fines.pl creates repeat
                    restrictions, uses wrong restriction type
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

The cronjob debar_patrons_with_fines.pl is meant to add a restriction based on
a fines threshold.

The problem is that the script adds a MANUAL restriction, which makes no sense.
MANUAL restrictions are meant to be manually created, never automatic as this
script does. 
In addition, they are repeatable, not unique. Every time this script runs, it
will add an additional restriction.

There is already a restriction type meant for this type of use case: SUSPENSION
We should change this script to create SUSPENSION restrictions instead of
MANUAL restrictions.

In summary, this script should use the unique restriction type SUSPENSION to
prevent multiple additional restrictions from being created on each run.

-- 
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