From bugzilla-daemon@bugs.koha-community.org Wed Aug 10 08:28:24 2016
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] New: Validation problems with form field type
"number" ( decimal separator)
Date: Wed, 10 Aug 2016 06:28:19 +0000
Message-ID:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5662764803811272369=="
--===============5662764803811272369==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D17098
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@gmail.com
Reporter: veron@veron.ch
QA Contact: testopia@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
or to set lang=3D"de-DE directly in form field).
- Go to /cgi-bin/koha/members/maninvoice.pl?borrowernumber=3DXXX ("Manuelle
Geb=C3=BChr")
- 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.
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============5662764803811272369==--
From bugzilla-daemon@bugs.koha-community.org Wed Aug 10 08:48:28 2016
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Wed, 10 Aug 2016 06:48:25 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2565865114264165541=="
--===============2565865114264165541==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
Marc Véron changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |minor
See Also| |https://bugs.koha-community
| |.org/bugzilla3/show_bug.cgi
| |?id=12310
--- Comment #1 from Marc Véron ---
More information:
Discussion on IRC: http://irc.koha-community.org/koha/2016-08-09#i_1847065
Bug 12310 - Accept different monetary formats as input
--
You are receiving this mail because:
You are watching all bug changes.
--===============2565865114264165541==--
From bugzilla-daemon@bugs.koha-community.org Wed Aug 10 09:24:08 2016
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Wed, 10 Aug 2016 07:24:05 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3606568491994992379=="
--===============3606568491994992379==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D17098
--- Comment #2 from Marc V=C3=A9ron ---
Files with input type "numeric" (git grep --files-with-matches
'type=3D"number"'):
Decimal:
koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt
Only digits (no problem):
koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_=
age.tt
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============3606568491994992379==--
From bugzilla-daemon@bugs.koha-community.org Wed Oct 12 21:33:41 2016
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Wed, 12 Oct 2016 19:33:38 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7123864838134171661=="
--===============7123864838134171661==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
Marjorie Barry-Vila changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marjorie.barry-vila@ccsr.qc
| |.ca
--
You are receiving this mail because:
You are watching all bug changes.
--===============7123864838134171661==--
From bugzilla-daemon@bugs.koha-community.org Tue Oct 18 10:17:53 2016
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Tue, 18 Oct 2016 08:17:50 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6218466953325345378=="
--===============6218466953325345378==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
Katrin Fischer changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |katrin.fischer@bsz-bw.de
Severity|minor |normal
--- Comment #3 from Katrin Fischer ---
We are currently running into this - it's irritating for the libraries tht
sometimes you have to use . and other times you have to use , - There is a lot
of error potential if you are not careful. Updating severity a bit.
--
You are receiving this mail because:
You are watching all bug changes.
--===============6218466953325345378==--
From bugzilla-daemon@bugs.koha-community.org Tue Oct 18 15:05:08 2016
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Tue, 18 Oct 2016 13:05:04 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7477849540978692493=="
--===============7477849540978692493==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
Claire Gravely changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.koha-community
| |.org/bugzilla3/show_bug.cgi
| |?id=17462
--
You are receiving this mail because:
You are watching all bug changes.
--===============7477849540978692493==--
From bugzilla-daemon@bugs.koha-community.org Thu Mar 9 11:36:20 2017
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Thu, 09 Mar 2017 10:36:13 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1573494276083549819=="
--===============1573494276083549819==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D17098
--- Comment #4 from Katrin Fischer ---
At the moment this problem exists in 2 files: maninvoice.tt and mancredit.tt.
Pasting the fix we did on our installations here for making a proper patch
later:
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt
@@ -70,7 +70,7 @@ type_fees['[% invoice_types_loo.authorised_value %]'] =3D "=
[%
invoice_types_loo.li
-
Exam=
ple:
5.00
+
Example: 5.00
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============1573494276083549819==--
From bugzilla-daemon@bugs.koha-community.org Mon Mar 13 14:06:27 2017
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Mon, 13 Mar 2017 13:06:20 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6512470585251591258=="
--===============6512470585251591258==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D17098
Jonathan Druart changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart@bugs.koha-c
| |ommunity.org
--- Comment #5 from Jonathan Druart =
---
I do not recreate, on /members/maninvoice.pl?borrowernumber=3D5, I tried with=
FF
ESR 45.4.0 and Chromium 55.0.2883.75.
With de-DE, I do see lang=3Dde-DE, but 12.3 and 12,3 are ok
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============6512470585251591258==--
From bugzilla-daemon@bugs.koha-community.org Mon Mar 13 14:22:13 2017
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Mon, 13 Mar 2017 13:22:09 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0197934104333330645=="
--===============0197934104333330645==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D17098
--- Comment #6 from Jonathan Druart =
---
If we simply replace type=3D"number" with type=3D"text", we will reintroduce =
bug
2542.
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============0197934104333330645==--
From bugzilla-daemon@bugs.koha-community.org Mon Mar 13 14:22:58 2017
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Mon, 13 Mar 2017 13:22:52 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7956345740064466374=="
--===============7956345740064466374==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D17098
--- Comment #7 from Jonathan Druart =
---
(In reply to Jonathan Druart from comment #6)
> If we simply replace type=3D"number" with type=3D"text", we will reintroduc=
e bug
> 2542.
That could work using the pattern attribute indeed.
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============7956345740064466374==--
From bugzilla-daemon@bugs.koha-community.org Tue Mar 14 12:22:12 2017
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Tue, 14 Mar 2017 11:22:08 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6191792919766541264=="
--===============6191792919766541264==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
--- Comment #8 from Katrin Fischer ---
(In reply to Jonathan Druart from comment #5)
> I do not recreate, on /members/maninvoice.pl?borrowernumber=5, I tried with
> FF ESR 45.4.0 and Chromium 55.0.2883.75.
> With de-DE, I do see lang=de-DE, but 12.3 and 12,3 are ok
Hm. That's odd. Might be some change in browser behaviour? We are using ESR at
work too. Will retest.
--
You are receiving this mail because:
You are watching all bug changes.
--===============6191792919766541264==--
From bugzilla-daemon@bugs.koha-community.org Fri Sep 15 17:36:23 2017
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" ( decimal separator)
Date: Fri, 15 Sep 2017 15:36:20 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============3793932782445432062=="
--===============3793932782445432062==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
Patrick Robitaille changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |patrick.robitaille@ccsr.qc.
| |ca
--
You are receiving this mail because:
You are watching all bug changes.
--===============3793932782445432062==--
From bugzilla-daemon@bugs.koha-community.org Thu Mar 1 12:18:46 2018
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" (decimal separator)
Date: Thu, 01 Mar 2018 11:18:16 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7364682546615539113=="
--===============7364682546615539113==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D17098
--- Comment #9 from Katrin Fischer ---
I ended up patching it like that:
-
Exam=
ple:
5.00
+
Example: 5.00
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============7364682546615539113==--
From bugzilla-daemon@bugs.koha-community.org Thu Mar 1 13:29:39 2018
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" (decimal separator)
Date: Thu, 01 Mar 2018 12:29:35 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4411451292507639044=="
--===============4411451292507639044==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
Fridolin SOMERS changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fridolin.somers@biblibre.co
| |m
--
You are receiving this mail because:
You are watching all bug changes.
--===============4411451292507639044==--
From bugzilla-daemon@bugs.koha-community.org Sat Oct 6 12:10:03 2018
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" (decimal separator)
Date: Sat, 06 Oct 2018 10:10:00 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8270751685507213218=="
--===============8270751685507213218==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
Victor Grousset/tuxayo changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |21507
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21507
[Bug 21507] Decimal separators issues in patrons payments/fines, simplified
--
You are receiving this mail because:
You are watching all bug changes.
--===============8270751685507213218==--
From bugzilla-daemon@bugs.koha-community.org Sat Jul 13 14:05:06 2019
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" (decimal separator)
Date: Sat, 13 Jul 2019 12:04:35 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0900399120424273380=="
--===============0900399120424273380==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
Castro B changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |castro8583bennett@gmx.com
--- Comment #10 from Castro B ---
(In reply to Jonathan Druart from comment #6)
> If we simply replace type="number" with type="text"
did you test this already?
Castro B,
https://www.lasvegas.com.ru/
--
You are receiving this mail because:
You are watching all bug changes.
--===============0900399120424273380==--
From bugzilla-daemon@bugs.koha-community.org Wed Aug 19 09:24:21 2020
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" (decimal separator)
Date: Wed, 19 Aug 2020 07:24:20 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============2828770968702771187=="
--===============2828770968702771187==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17098
--- Comment #11 from Katrin Fischer ---
It could be a mix of having a "German" firefox installed and Plack and other
settings... we have seen some weird things happening. See bug 18186.
--
You are receiving this mail because:
You are watching all bug changes.
--===============2828770968702771187==--
From bugzilla-daemon@bugs.koha-community.org Wed Aug 19 09:26:50 2020
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 17098] Validation problems with form field type
"number" (decimal separator)
Date: Wed, 19 Aug 2020 07:26:49 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6541226246402439581=="
--===============6541226246402439581==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D17098
Martin Renvoize changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin.renvoize@ptfs-europe
| |.com
--- Comment #12 from Martin Renvoize ---
Popping this in here so we don't loose it.
https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-c=
hanged-the-input-type-for-numbers/
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============6541226246402439581==--