[symfony-users] sfValidatorPropelUnique giving problems when updating sfGuardUserProfile

2008-12-01 Thread Flancer
I have this code: new sfValidatorPropelUnique(array('model' => 'sfGuardUserProfile', 'column' => array('email','nric'))) Which I think should check the combined uniqueness of the fields with the name of email,nric. Strangely enough, this code prevents me from editing the record unless i make c

[symfony-users] sfValidatorPropelUnique giving problems when updating sfGuardUserProfile

2008-10-26 Thread Flancer
Based on a the symfony propel:generate-crud command for the sfguarduser model, which automagically generates forms that updates both the username and password together with the user profile. I have enabled two unique fields, e-mail and fullname for the user profile model. Whenever I update a re