This solution works
public function configure()
{
// (...)
$this-validatorSchema-setPostValidator(
new sfValidatorCallback(array(
'callback' = array($this, 'checkUniqueness'),
'arguments' = array(
'model' = 'ProduktPartner',
'multiple_column' =
Override sfValidatorPropelUnique and define a method isUpdate() that
return always false
On 15 Feb, 15:54, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote:
Hi
I have a table with unique index of 3 columns. So I use this:
$this-validatorSchema-setPostValidator(
new
Unfortunatelly in doesn't help. Still validator passes and Propel
Exception occurs (There is already object with same partner,product
and language).
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to