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

--- Comment #3 from Frédéric Demians <[email protected]> ---
Created attachment 207906
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207906&action=edit
Bug 43557: (follow-up) Reject exclusive group members that are not
first-declared option names

An exclusive group only works if its members are written exactly as the
options' first-declared names. An alias ('c'), an underscore form
('exclude_code') or a typo was silently accepted, and the group was then
never enforced, without any warning.

describe_options now throws a Koha::Exceptions::WrongParameter for such a
member, naming the expected name when there is one.

It also reports a negatable option given as --no-foo as --no-foo, instead
of --foo.

Test plan:
1. prove t/Koha/Script.t
2. koha-qa.pl passes for Koha/Script.pm

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to