[Koha-bugs] [Bug 26076] Paying selected accountlines in full may result in the error "You must pay a value less than or equal to $x"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 30 10:22:34 CEST 2020


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

Joonas Kylmälä <joonas.kylmala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #11 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Thanks for the commit message fix, Kyle! I was about to pass QA for this... But
then I ended up with this error on my last test:

DBIx::Class::Storage::DBI::_dbh_execute(): Mixing of GROUP columns
(MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP
BY clause at /kohadevbox/koha/members/paycollect.pl line 157
 at /usr/share/perl5/DBIx/Class/Exception.pm line 77

Without the patch provided here the error doesn't happen. How to reproduce: 

0) Apply patch provided in this bug report & restart plack
1) Have RoundFinesAtPayment = No (not sure this is relevant though)
2) Create 3 manual invoices with the amount of 3.33
3) Make a payment > write off selected
4) The error should appear.

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


More information about the Koha-bugs mailing list