[Erp5-report] r42921 arnaud.fontaine - /erp5/trunk/products/ERP5PropertySheetLegacy/Propert...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 2 07:37:49 CET 2011


Author: arnaud.fontaine
Date: Wed Feb  2 07:37:49 2011
New Revision: 42921

URL: http://svn.erp5.org?rev=42921&view=rev
Log:
For consistency in PropertyExistence filesystem Constraints, set the
value of a property name to None


Modified:
    erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/BugConstraint.py
    erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/CalendarPeriodConstraint.py

Modified: erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/BugConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/BugConstraint.py?rev=42921&r1=42920&r2=42921&view=diff
==============================================================================
--- erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/BugConstraint.py [utf8] (original)
+++ erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/BugConstraint.py [utf8] Wed Feb  2 07:37:49 2011
@@ -42,9 +42,9 @@ class BugConstraint:
     { 'id'            : 'tested_existence',
       'description'   : 'Tested must be defined',
       'type'          : 'PropertyExistence',
-      'tested'        :  0,
+      'tested'        :  None,
       'condition'     : "python: object.getSimulationState() in ['ready','stopped']" ,
-      'message_no_such_property' : 'Tested is unchecked, Must have a Unit/Funcional test for this',
+      'message_no_such_property' : 'Tested is unchecked, must have a Unit/Functional test for this',
     },
     { 'id'            : 'source_project_category_membership_arity',
      'description'   : 'Handler Project must be defined',

Modified: erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/CalendarPeriodConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/CalendarPeriodConstraint.py?rev=42921&r1=42920&r2=42921&view=diff
==============================================================================
--- erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/CalendarPeriodConstraint.py [utf8] (original)
+++ erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/CalendarPeriodConstraint.py [utf8] Wed Feb  2 07:37:49 2011
@@ -37,14 +37,14 @@ class CalendarPeriodConstraint:
       'description': 'Date must be defined',
       'message_no_such_property': 'Start date must be defined',
       'type': 'PropertyExistence',
-      'start_date' : 1,
+      'start_date' : None,
     },
 
     { 'id': 'stop_date_existence',
       'description': 'Date must be defined',
       'message_no_such_property': 'Stop date must be defined',
       'type': 'PropertyExistence',
-      'stop_date' : 1,
+      'stop_date' : None,
     },
 
     { 'id': 'resource_existence',



More information about the Erp5-report mailing list