Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
4.6.0
-
None
-
Operating System: RHEL 6.1
PHP Version: 5.3.3
Database and version: Oracle 11g
Browser (and version): FF10
Description
Creating a class using float or price datatypes is showing an php notice in debug when you open the created object in admin (old admin and admin2) interface and the decimal part of the introduced number is ignored.
Notice: PHP: E_NOTICE Feb 13 2012 14:37:02
A non well formed numeric value encountered in /var/www/apache2php53/ezp/.run/lib/ezlocale/classes/ezlocale.php on line 1206
Steps to reproduce
1. Create a new class with one of the datatypes (float or price)
2. Create an object of the created class.
3. Fill the datatype field with 10.99
4. Publish the object.
5. Open the object using the view tab
6. Verify that error message is presented in the debug area