ZF-Commons / ZfcUserDoctrineORM

Doctrine2 ORM storage adapter for ZfcUser.
BSD 3-Clause "New" or "Revised" License
89 stars 92 forks source link

Integrity constraint violation #63

Closed bluebaroncompsci closed 10 years ago

bluebaroncompsci commented 11 years ago

When I try to signup new users I get the following issue if I use the same email twice.

An exception occurred while executing 'INSERT INTO user (username, email, password, state, displayName, registration_key, is_registered, default_address_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)' with params {"1":null,"2":"top@secret","3":"topsecret","4":null,"5":null,"6":null,"7":0,"8":null}:

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'top@secret' for key 'UNIQ_8D93D649E7927C74'

Config: 'user_entity_class' => 'User\Entity\User', 'enable_default_entities' => false, 'auth_identity_fields' => array('email'), 'login_after_registration' => true, 'use_redirect_parameter_if_present' => true, 'login_redirect_route' => 'home', 'logout_redirect_route' => 'home',

User\Entity\User /**

bluebaroncompsci commented 11 years ago

Is this project abandoned?

Danielss89 commented 10 years ago

Closing this for now. Please reopen if you still have the issue.