Project

General

Profile

Actions

Defect #42233

closed

Float custom values with ',' as decimal separator are not converted to '.' and cause SQL errors when sorting or summing

Added by Grischa Zengel 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

If using german language settings redmine shows value 1.5 as 1,5.
You can put 1,5 to a numeric field. Redmine shows this a 1,0 on overview.
In tables, if you sort a field with this value you get error 500.
If you want a sum over this field you get error 500, too.

With english language settings it's not possible to put 1,5 to a numeric field.


Files

42233.patch (2.59 KB) 42233.patch Go MAEDA, 2025-02-07 06:55

Related issues

Related to Redmine - Feature #22024: Support localized decimal separators for float valuesClosedGo MAEDA

Actions
Has duplicate Redmine - Defect #42330: Custom Floating Point Field Truncating Decimal PartClosed

Actions
Actions

Also available in: Atom PDF