Commit 7fc77368 authored by Arnaud Fontaine's avatar Arnaud Fontaine

For consistency in PropertyExistence filesystem Constraints, set the

value of a property name to None



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42921 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0f68b3b8
......@@ -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',
......
......@@ -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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment