]> git.koha-community.org Git - koha.git/commit
Bug 18403: Fix error triggered by subgroups being added to group
authorKyle M Hall <kyle@bywatetsolutions.com>
Fri, 9 Feb 2018 13:51:02 +0000 (08:51 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Feb 2018 18:41:42 +0000 (15:41 -0300)
commit5b3b382f5814c2d30234e80d00f238547871d3e5
tree719625908cacc731e3db00cd8f9cb1305a35f8a8
parenta037b80ee325e3828141ebc15533e8f3d159de5a
Bug 18403: Fix error triggered by subgroups being added to group

With one root group and two child groups and it works fine.
But if I create any groups under *those* groups, not only does it not work,
I get the following error:
Template process failed: undef error - SQL::Abstract::puke(): [SQL::Abstract::__ANON__]
Fatal: SQL::Abstract before v1.75 used to generate incorrect SQL when the -IN operator was
given an undef-containing list: !!!AUDIT YOUR CODE AND DATA!!! (the
upcoming Data::Query-based version of SQL::Abstract will
emit the logically correct SQL instead of raising this
exception) at /home/vagrant/kohaclone/Koha/Objects.pm line 269

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Patron.pm