sfValidatorDoctrineUnique fails on capital letters
问题 I've setup a post validator in my symfony form to stop duplication of primary keys. A primary key is a two-character string in this instance. Code used to validate: $this->mergePostValidator(new sfValidatorDoctrineUnique(array( 'model' => 'Manufacturers', 'column' => 'id', 'primary_key' => 'id' ))); The primary key is uppercase (for example AU). Bizarrely the post validator triggers successfully is lowercase 'au' is entered into the field (i.e. stops it from going to the database and