[Koha-bugs] [Bug 22275] 18.06.00.060 DB update fails (incomplete/incorrect defaults)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 6 07:14:40 CET 2019


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

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Oliver, 

thx for the bug!

1) Table "class_sources" gets its "class_split_rule" pre-filled with all
existing "class_sort_rule" counterparts, yet the "class_split_rules" table is
only filled with fixed presets. Thus adding the "class_source_ibfk_2"
constraint will fail as soon as there are more sort rules than split rules,
that is, as soon as there are any custom sort rules.

I assume you added the custom sort rules yourself. I've not done that before.
What did it involve? Just adding the file in the right directory?

> 2) The "class_split_rules" preset values are apparently copied from the "class_sort_rules" rules, leaving the "sorting rules" fragment in their descriptions. Those are presumably meant to be called "splitting rules".

Would it be possible for you to share a screenshot of your classification
sources page with the 3 tables? I think it would be helpful to understand the
issue.

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


More information about the Koha-bugs mailing list