[Koha-bugs] [Bug 13352] Editing amount in Acquisitions budget causes error due to formatting

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 6 15:33:44 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13352

Paola Rossi <paola.rossi at cineca.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35517|0                           |1
        is obsolete|                            |

--- Comment #4 from Paola Rossi <paola.rossi at cineca.it> ---
Created attachment 35703
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35703&action=edit
[SIGNED OFF] Bug 13352: On editing, prices should not be formatted

I've applied the patch against master 3.19.00.008 head 7904.
Everything's OK as required by the test plan, with either FR or US
CurrencyFormat syspref.
So I pass the patch to the "Signed Off" status.

NB1. The error message to fix is the following [blocking] one:
"Form not submitted because of the following problem(s)
- Amount must be a valid number, or empty"

Editing a budgetperiod, the value 'hhh' in the budget's "Total-amount" input
field gets the same error message [IMO RIGHT].
(A) Editing a fund, the 'hhh' in the fund's "Amount" input field doesn't get
the message error, and sets the fund's amount to 0 [IMO WRONG].
This (A) error is the same against master, so IMO it's not related to this bug
13352.

NB2. Editing a budgetperiod, "Save" brings back to "Budget Administration"
[i.e. the budgets' list].
Editing a budgetperiod X, "Cancel" doesn't bring back to "Budget
Administration": it brings to the "Funds for X".
Is it OK?

NB3.  On editing the budget/fund, with the "FR" CurrencyFormat syspref the
decimal mark was the dot, like with "US".
The comma could be the decimal mark with "FR".

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


More information about the Koha-bugs mailing list