[Koha-bugs] [Bug 34269] New: Regression in circulation rules for 'similar' patron categories

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 13 14:57:41 CEST 2023


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

            Bug ID: 34269
           Summary: Regression in circulation rules for 'similar' patron
                    categories
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: System Administration
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

Bug 30517 loosens the regular expression used in the edit functionality of the
circulation rules matrix in an attempt to make translations work.. However it
has caused a regression for the case where a library may have similarly named
patron categories (and likely also for item types).

Our partner has the following valid patron categories:

"Staff", "Staff (ISA)", "Staff (temporary)" and "Staff (zero entitlements)"

With the regular expression change introduced in bug 30517, the first three
categories all get reduced to just `staff` and as such you can no longer edit
rules that contain those categories.

We really shouldn't be relying on a regular expression here at all.. we should
be able to pass in the codes rather than descriptions and utilise those for
matching against.

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


More information about the Koha-bugs mailing list