[Erp5-report] r28148 - in /erp5/trunk/bt5/erp5_registry_ohada: WorkflowTemplateItem/portal_...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 22 17:43:47 CEST 2009


Author: fabien
Date: Wed Jul 22 17:43:45 2009
New Revision: 28148

URL: http://svn.erp5.org?rev=28148&view=rev
Log:
use the same properties in the error message than in the query (and start_date don't exist on request_eform)

Modified:
    erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml
    erp5/trunk/bt5/erp5_registry_ohada/bt/revision

Modified: erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml?rev=28148&r1=28147&r2=28148&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/WorkflowTemplateItem/portal_workflow/ohada_form_validation_interaction_workflow/scripts/modifyPhysicalPersonFromP2.xml [utf8] Wed Jul 22 17:43:45 2009
@@ -114,14 +114,14 @@
   raise ValidationFailed, "Error : There is more than one person with the "\\\n
             " title \'%s\', birth date \'%s\' and birthplace \'%s\'" % (\n
                 request_eform.getTitle(),\n
-                request_eform.getStartDate(),\n
-                request_eform.getDefaultBirthplaceAddressCity())\n
+                request_eform.getOwnerBirthday(),\n
+                request_eform.getOwnerBirthplace())\n
 elif len(person_list) == 0:\n
   raise ValidationFailed, "Error : There is nobody with the "\\\n
             " title \'%s\', birth date \'%s\' and birthplace \'%s\'" % (\n
                 request_eform.getTitle(),\n
-                request_eform.getStartDate(),\n
-                request_eform.getDefaultBirthplaceAddressCity())\n
+                request_eform.getOwnerBirthday(),\n
+                request_eform.getOwnerBirthplace())\n
 \n
 else:\n
   # Modify person based on properties filled in P2\n

Modified: erp5/trunk/bt5/erp5_registry_ohada/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/bt/revision?rev=28148&r1=28147&r2=28148&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/bt/revision [utf8] Wed Jul 22 17:43:45 2009
@@ -1,1 +1,1 @@
-923
+924




More information about the Erp5-report mailing list