[Erp5-report] r41832 arnaud.fontaine - in /erp5/trunk/products: ERP5PropertySheetLegacy/Pro...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 28 15:00:28 CET 2010
Author: arnaud.fontaine
Date: Tue Dec 28 15:00:28 2010
New Revision: 41832
URL: http://svn.erp5.org?rev=41832&view=rev
Log:
Following r41787 for filesystem PropertyExistence constraint, remove
message_property_not_set
Modified:
erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/PropertyExistenceConstraint.py
erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py
Modified: erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/PropertyExistenceConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/PropertyExistenceConstraint.py?rev=41832&r1=41831&r2=41832&view=diff
==============================================================================
--- erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/PropertyExistenceConstraint.py [utf8] (original)
+++ erp5/trunk/products/ERP5PropertySheetLegacy/PropertySheet/PropertyExistenceConstraint.py [utf8] Tue Dec 28 15:00:28 2010
@@ -39,10 +39,6 @@ class PropertyExistenceConstraint:
'type': 'string',
'description' : 'Error message when there is no such property',
'default': 'Property existence error for property ${property_id}, '\
- 'this document has no such property' },
- { 'id': 'message_property_not_set',
- 'type': 'string',
- 'description' : 'Error message when the property is not set',
- 'default': 'Property existence error for property ${property_id}, '\
- 'this property is not defined' },
+ 'this document has no such property or the property '\
+ 'has never been set' },
)
Modified: erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py?rev=41832&r1=41831&r2=41832&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Core/PropertyExistenceConstraint.py [utf8] Tue Dec 28 15:00:28 2010
@@ -65,7 +65,7 @@ class PropertyExistenceConstraint(Constr
"""
# Check whether the property exists and has been set
if not obj.hasProperty(property_id):
- return "message_property_not_set"
+ return "message_no_such_property"
return None
More information about the Erp5-report
mailing list