Hi,

I have to fields in my schema, elementDateOfPublication and
elementEndOfPublicationDate.

I want elementEndOfPublication to be after elementDateOfPublication.

I found an exemple, saying I have to write in my schema.yml:

ElementElement:
  [...]
  checks:
     date_ok: elementEndOfPublicationDate > elementPublicationDate

this adds "$this->check('elementEndOfPublicationDate >
elementPublicationDate');"
in lib/model/doctrine/base/BaseElementElement.class.php

but this change nothing, I can set elementDateOfPublication to
01/26/2010 and elementEndOfPublicationDate to 01/20/2010.

Any help? :)

Thanks,
Jérémie

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to