Project

General

Profile

Actions

Bug #75825

closed

validate and set float properties

Added by Thomas Kieslich about 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-04-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

after update to TYPO3 7.6.5 it dosent work for me. I think it depends on [[https://forge.typo3.org/projects/typo3cms-core/repository/revisions/608631a3a080ccb6436c7e277af036a0c6a0ccaa]].

I have a extbase Object that is editable in Frontend.

- Properties are defined in Model as float
- in Fluid Template normal defined as f:form.textfield with the property tag
in 7.6.4 decimal is a dot, in 7.6.5 a comma

- config.locale_all is de_DE.UTF-8

- after open the form and save there is a validation error
- if i change the value with comma there is a validation error with dot not and the property is saved


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #75920: Extbase generic persistence casting float value to string causes wrong values if system locale is germanClosed2016-04-26

Actions
Actions #2

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47828

Actions #3

Updated by Thomas Kieslich about 8 years ago

php is php 5.6.10.
The real problem is that a Security update change the decimal delimiter from dot to comma.

Actions #4

Updated by Stephan Großberndt about 8 years ago

yes, we are aware of that. its not a security update but this patch: https://review.typo3.org/#/c/47455 which broke the handling.

Someone filed this rather strange behaviour of PHP as a bug but they say its intended // to hard to fix without breaking things.

https://bugs.php.net/bug.php?id=53711

Actions #5

Updated by Gerrit Code Review about 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47828

Actions #6

Updated by Gerrit Code Review about 8 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47841

Actions #7

Updated by Nicole Cordes about 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF