Project

General

Profile

Actions

Bug #16805

closed

Error while entering a numbers like 50 or 50.00 into a double2 field

Added by Simon Lang almost 18 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2006-12-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TCA definition of the percentage field:
-----
'percentage' => Array (
'exclude' => 1,
'label' => 'LLL:EXT:tessinerrechner/locallang_db.xml:tx_tessinerrechner_employmentpercentage.percentage',
'config' => Array (
'type' => 'input',
'size' => '6',
'max' => '6',
'eval' => 'double2',
'default' => '100'
)
),
-----

When I enter 33.33 in this field it works great. But when i whant to change it to 50 or 50.00, it gives me following error message:
-----
102: These fields are not properly updated in database: (percentage) Probably value mismatch with fieldtype.
-----

It displays an error message, but the new value will still be saved.

(issue imported from #M4689)


Files

double2.patch (478 Bytes) double2.patch Administrator Admin, 2006-12-22 10:15

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #16987: TCE: wrong error message: "These fields are not properly updated in database"ClosedMichael Stucki2007-02-14

Actions
Related to TYPO3 Core - Bug #17291: eval double2 makes negative double values positive!Closed2007-05-10

Actions
Actions #1

Updated by Mathias Uhl almost 18 years ago

it is not yet in 4.0.4

Actions #2

Updated by Michael Stucki almost 18 years ago

Fixed in 4.0.5 / 4.1.0

Actions #3

Updated by Michael Stucki over 17 years ago

I had to revert this change because it seems to cause problems (see #16987). Needs reinvestigation.

Actions #4

Updated by Andreas Wolf about 13 years ago

  • Target version deleted (0)
  • PHP Version deleted (4)

Closing as the described error does not occur with recent trunk (4.6-dev).

Actions #5

Updated by Andreas Wolf about 13 years ago

  • Category set to Backend API
  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF