]> git.koha-community.org Git - koha.git/commit
Bug 22619: Fix null empty behaviour for new rules
authorNick Clemens <nick@bywatersolutions.com>
Tue, 2 Apr 2019 00:34:43 +0000 (00:34 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Sat, 23 Mar 2019 08:32:03 +0000 (08:32 +0000)
commita5fcd93f72687e946d9bfbdc2541ed4a18704125
tree51b2286c4d21d0c10b606fd714889ffab71fcc9b
parentf6bc67e851722451a970d085f51fb11fb03e21b3
Bug 22619: Fix null empty behaviour for new rules

To test:
 1 - Go to Admin->Circulation and fines rules
 2 - Set All/All rules ot have a limit for Current checkouts allowed (and onsite checkouts allowed)
 3 - Select an itemtype to add a new rule
 4 - Save without entering any values
 5 - Note that new rule displays with the same numebr as the all/all rule
 6 - Check the DB, not no lines were added to circulation_rules table
 7 - Delete the rule from the staff client
 8 - Apply patch
 9 - Repeat, note the new rule is unlimited
10 - Run selenium tests
11 - They pass!
12 - Check no rules/itemtypes are added to your system by the tests

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
admin/smart-rules.pl
t/db_dependent/selenium/administration_tasks.t