[Koha-bugs] [Bug 18186] New: Amounts with decimal comma instead of decimal dot breaking payments
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 1 12:16:05 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18186
Bug ID: 18186
Summary: Amounts with decimal comma instead of decimal dot
breaking payments
Change sponsored?: ---
Product: Koha
Version: 3.22
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: katrin.fischer at bsz-bw.de
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
In our current installations running under Plack, the amounts on the pay and
paycollect pages suddenly started showing with a decimal comma instead of a
decimal point. This causes quite a bit of trouble, as Koha expects a . and
amounts entered didn't result in the expected payments. We got several reports
about payments being broken in Koha.
Test plan:
- Add manual invoice
- View the "fines" tag
- Verify that individual fees and totals display with , instead of .
- Pay selected or any amount
- Verify that the input field for the amount is also showing the ,
- Verify that paying something like 1,10 doesn't work as expected.
The problem with the test plan is, that you might not see the ,. This appears
only on our productions servers, but not in my development environment.
We tested:
- different language settings in Koha
- different language settings in the browser
- verified that CurrencyFormat isn't used in the code on those page
- verified that all the formatting done was using the TT filter format('%.2f')
In the end the problem turned out to be related to Plack.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list