Bug #69807
closedEXT:form - currency filter not working correctly
100%
Description
The currency filter is not working as expected. To reproduce the issue do the following:
- have a form with a confirmation page or a field which is required (to make sure form is not submitted but validated)
- enter
34567890
into a TEXTLINE or TEXTAREA element - submit form
- new value is as expected
34.567.890,00
- submit form
- new value is
34,57
- submit form
- new value is
34,00
The filter is configured as follows:
temp.filterCurrency = currency temp.filterCurrency { # default: . decimalPoint = , # default: , thousandSeparator = . }
If the default configuration of this filter is used the second step (34,57
) is not happening :) but the final result is 34.00
.
Updated by Björn Jacob about 9 years ago
- Subject changed from Forms: currency filter not working correctly to EXT:form - currency filter not working correctly
Updated by Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43475
Updated by Gerrit Code Review about 9 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43476
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43476
Updated by Gerrit Code Review about 9 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43491
Updated by Ralf Zimmermann about 9 years ago
Note, there are 2 Reviews:
TYPO3 6.2: https://review.typo3.org/#/c/43491/
TYPO3 7: https://review.typo3.org/#/c/43475/
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43475
Updated by Benni Mack about 9 years ago
- Sprint Focus set to Stabilization Sprint
Updated by Björn Jacob about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Gerrit Code Review about 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43475
Updated by Gerrit Code Review about 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43475
Updated by Björn Jacob about 9 years ago
Example form for faster testing:
enctype = multipart/form-data method = post prefix = tx_form confirmation = 1 postProcessor { 1 = mail 1 { recipientEmail = your@mail.com senderEmail = your@mail.com subject = Test form } } 10 = TEXTLINE 10 { type = text class = hasClass1 id = hasId1 autocomplete = off name = salary placeholder = Enter your desired salary. filters { 1 = currency 1 { decimalPoint = . thousandSeparator = , } } label { value = Salary } } 20 = SUBMIT 20 { name = 3 type = submit value = Submit form } rules { 1 = required 1 { breakOnError = 0 showMessage = 1 message = Required error = This field is required element = salary } }
Updated by Ralf Zimmermann about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6a301f1389b55ad4326fb881e40ccc7c468fb3a9.
Updated by Gerrit Code Review about 9 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/43491
Updated by Ralf Zimmermann about 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 399689de547e5f1b1c65ded286aab98923086eec.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed