> So, is there a bug here or am I the
> only one who thinks that on => create has to have more priority than
> the other lines?

What version are you using? From the code it seems like if the on rule
is set it shouldn't be executing anything more:

if (empty($validator['on']) || ($validator['on'] == 'create' && !
$exists) || ($validator['on'] == 'update' && $exists)) {
 //validation
}

In the case of an update it would be failing all three conditions and
not proceeding.

I have an almost identical validation rule set up for my users Model
and it works as expected.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to