From 9a77cb0665b30b21d336416fdb9d4c000c315e22 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Thu, 24 Dec 2009 14:18:09 +0000
Subject: [PATCH] Whenever there are no validation errors, the user input
 should be rendered by a float field as a float, not as the user input. (this
 behaviour is consistent with the form framework, although it should not be
 considered as a specification and could evolve)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31461 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../matrixbox_zuite/testValidationOnEditableCell.xml          | 4 ++--
 bt5/erp5_ui_test/bt/revision                                  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/matrixbox_zuite/testValidationOnEditableCell.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/matrixbox_zuite/testValidationOnEditableCell.xml
index 21b5c61827..8cb369623a 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/matrixbox_zuite/testValidationOnEditableCell.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/matrixbox_zuite/testValidationOnEditableCell.xml
@@ -106,7 +106,7 @@
 <tr>\n
   <td>verifyValue</td>\n
   <td>field_matrixbox_quantity_cell_0_1_0</td>\n
-  <td>2</td>\n
+  <td>2.0</td>\n
 </tr>\n
 <tr>\n
   <td>verifyValue</td>\n
@@ -170,7 +170,7 @@
 <tr>\n
   <td>verifyValue</td>\n
   <td>field_matrixbox_quantity_cell_0_1_0</td>\n
-  <td>3</td>\n
+  <td>3.0</td>\n
 </tr>\n
 <tr>\n
   <td>verifyValue</td>\n
diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision
index 88bc40f5cc..54a584dece 100644
--- a/bt5/erp5_ui_test/bt/revision
+++ b/bt5/erp5_ui_test/bt/revision
@@ -1 +1 @@
-513
\ No newline at end of file
+514
\ No newline at end of file
-- 
2.30.9