[Koha-bugs] [Bug 17098] New: Validation problems with form field type "number" ( decimal separator)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 10 08:28:19 CEST 2016


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

            Bug ID: 17098
           Summary: Validation problems with form field type "number"
                    (decimal separator)
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: veron at veron.ch
        QA Contact: testopia at bugs.koha-community.org

With Koha language set to de-DE, it is not possible to enter numeric values
with decimal separator point like 5.00 if the input field is of type "numeric".
Validation requires comma (,)

Independently on Koha language and CurrencyFormat settings, you get an error
message (in German): "Bitte geben Sie eine Nummer ein."

To verify:
- Install language de-DE (alternatively use Firebug to manipulate page HTML to
<html lang="de-DE"> or to set lang="de-DE directly in form field).
- Go to /cgi-bin/koha/members/maninvoice.pl?borrowernumber=XXX ("Manuelle
Gebühr")
- In field "Betrag:", enter 5.00
Result: Field border turns to red, field shows tooltip "Bitte geben Sie eine
Nummer ein."

Expected result: Point as decimal separator is accepted.

Same behaviour with it-IT, fr-FR, nl-NL

However if you set language to en or de-CH, both comma and point are accepted.

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


More information about the Koha-bugs mailing list