Hi, I got a problem saving objects using non-english number format (point instead of comma as the comma separator).
I tracked it down to the UpdateFormExtension where the value for the field is set: the numeric field checks if the provided $value is float, int or the second $data parameter is an instance of DataObject.
If the value now is a non-english number-string, it isn't either float nor integer, so we need to check if the $data parameter is a DataObject.
The solution would be to add $rel as second parameter to $field->setValue($value); in UpdateFormExtension.php on line 34 so it is $field->setValue($value, $rel).
Hi, I got a problem saving objects using non-english number format (point instead of comma as the comma separator).
I tracked it down to the UpdateFormExtension where the value for the field is set: the numeric field checks if the provided
$valueis float, int or the second$dataparameter is an instance of DataObject.If the value now is a non-english number-string, it isn't either float nor integer, so we need to check if the
$dataparameter is a DataObject.The solution would be to add
$relas second parameter to$field->setValue($value);in UpdateFormExtension.php on line 34 so it is$field->setValue($value, $rel).