From 8d4c699e790274e07cb3aac2d50149982ee130b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 22 Jun 2009 16:04:38 +0000 Subject: [PATCH] restore proper message for external validator failures git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27758 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../my_purchase_supply_line_quantity_step_list.xml | 10 +++++++++- .../my_sale_supply_line_quantity_step_list.xml | 10 +++++++++- bt5/erp5_pdm/bt/revision | 2 +- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewDefaultPurchaseSupplyLine/my_purchase_supply_line_quantity_step_list.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewDefaultPurchaseSupplyLine/my_purchase_supply_line_quantity_step_list.xml index deafccfadf..8ad0636974 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewDefaultPurchaseSupplyLine/my_purchase_supply_line_quantity_step_list.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewDefaultPurchaseSupplyLine/my_purchase_supply_line_quantity_step_list.xml @@ -22,6 +22,14 @@ </list> </value> </item> + <item> + <key> <string>delegated_message_list</string> </key> + <value> + <list> + <string>external_validator_failed</string> + </list> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>my_purchase_supply_line_quantity_step_list</string> </value> @@ -32,7 +40,7 @@ <dictionary> <item> <key> <string>external_validator_failed</string> </key> - <value> <string>The input failed the external validator.</string> </value> + <value> <string>You did not enter a floating point number.</string> </value> </item> </dictionary> </value> diff --git a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewDefaultSaleSupplyLine/my_sale_supply_line_quantity_step_list.xml b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewDefaultSaleSupplyLine/my_sale_supply_line_quantity_step_list.xml index 77f1fe17fc..c6ef418c02 100644 --- a/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewDefaultSaleSupplyLine/my_sale_supply_line_quantity_step_list.xml +++ b/bt5/erp5_pdm/SkinTemplateItem/portal_skins/erp5_pdm/Resource_viewDefaultSaleSupplyLine/my_sale_supply_line_quantity_step_list.xml @@ -22,6 +22,14 @@ </list> </value> </item> + <item> + <key> <string>delegated_message_list</string> </key> + <value> + <list> + <string>external_validator_failed</string> + </list> + </value> + </item> <item> <key> <string>id</string> </key> <value> <string>my_sale_supply_line_quantity_step_list</string> </value> @@ -32,7 +40,7 @@ <dictionary> <item> <key> <string>external_validator_failed</string> </key> - <value> <string>The input failed the external validator.</string> </value> + <value> <string>You did not enter a floating point number.</string> </value> </item> </dictionary> </value> diff --git a/bt5/erp5_pdm/bt/revision b/bt5/erp5_pdm/bt/revision index f9c94c8318..9573848579 100644 --- a/bt5/erp5_pdm/bt/revision +++ b/bt5/erp5_pdm/bt/revision @@ -1 +1 @@ -325 \ No newline at end of file +326 \ No newline at end of file -- 2.30.9