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

--- Comment #3 from Emmi Takkinen <[email protected]> ---
(In reply to Roman Dolny from comment #2)
> I found a few problems during testing in KTD, but not sure if they should be
> new bugs or fixed in this one.
> 
> Before applying a patch problem is also with adding fee for any single
> patron category - Koha blows up.
> 
> But after applying a patch there is another problem - if there is rule for
> 'All' one can not add rule for specific patron category. If there is no rule
> for 'All' new rule is added not for selected category but for 'All'.
> 
> Trying to add new rule (for specific category) with fee value different from
> fee for 'All' doesn't work, but updates fee value for 'All'.
> 
> Delete button does not work.

Can confirm, "Default article request fees" is always saved to database with
categorycode as NULL no matter which patron category is used. That's why when
you try to save new rule with different patron category, it doesn't appear to
the rule list. So now in master any saved rule leads to Koha blowing up. 

Can also confirm deleting rule with patron category as "All" doesn't work. I
changed categorytype in database manually as existing patron category type and
after that I was able to delete the rule. My guess is that since "All" value is
sent to deleted script as empty value ("") it can't be found from database and
thus deleting it fails.

-- 
You are receiving this mail because:
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