[Erp5-dev] date/time properites' constraint check

Mikolaj Antoszkiewicz mikolaj at erp5.pl
Fri May 16 12:11:45 CEST 2008


Hello,

When using PropertyExistence constraint class I noticed that when date 
properties fail the constraint check it always returns the 
'message_no_such_property' type of message.

It looks like that, because hasProperty tester always returns False, if 
the date/time property is unset, just like it was non-existent property.

Maybe it's a matter of treating the date properties differently here. 
But in such a generic class I guess it's not good to test for property's 
type.

Any ideas?

Mikolaj



More information about the Erp5-dev mailing list