[Koha-bugs] [Bug 33847] Database update replaces undefined rules with defaults rather than the value that would be used
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 30 16:17:51 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33847
Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Signed Off
--- Comment #18 from Emily Lamancusa <emily.lamancusa at montgomerycountymd.gov> ---
> It occurs to me as I write this, though, that I only created rules that
> inherited from the All/All/All default rule, and didn't test that the values
> are derived from the *correct* rule if there are multiple related rules
> defined in the hierarchy. I'm going to test that case before I mark the bug
> as signed off.
Tested issuelength with the following rules:
-----------------------------------------------------
| Branch | Patron category | Item type | issuelength |
-----------------------------------------------------
| CPL | Student | Reference | |
| CPL | Student | All | 3 |
| CPL | All | Reference | 1 |
| CPL | All | All | 5 |
------------------------------------------------------
| All | Student | Reference | |
| All | Student | All | 7 |
| All | All | Reference | 1 |
| All | All | All | 5 |
------------------------------------------------------
The missing CPL/Student/Reference value correctly inherited the CPL/Student/All
value of 3, and the missing All/Student/Reference value correctly inherited the
All/Student/All value of 7.
Marking as Signed off :)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list