[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 15:35:04 CEST 2020


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

--- Comment #12 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Joonas Kylmälä from comment #11)
> 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.

Interesting, I have no idea why I didn't get this error in my testing! Followup
incoming!

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


More information about the Koha-bugs mailing list