pombase / canto

The PomBase community curation tool
https://curation.pombase.org
Other
19 stars 7 forks source link

bug adding a person, just appeared! #618

Closed pombase-admin closed 9 years ago

pombase-admin commented 11 years ago

I have been merrily adding people this morning, but now I am getting this error:

Internal error DBIx::Class::Schema::txn_do(): error while creating PomCur::TrackDB::Person: DBIx::Class::ResultSet::create(): DBI Exception: DBD::SQLite::st execute failed: column email_address is not unique [for Statement "INSERT INTO person ( added_date, email_address, lab, name, password, role) VALUES ( ?, ?, ?, ?, ?, ? )"] at lib/PomCur/DB.pm line 191 with args: {'email_address' => 'sugiurar@phar.kindai.ac.jp', 'password' => 'undef', 'lab' => 'undef', 'name' => 'Reiko Sugiura', 'role' => '15'} at lib/PomCur/Controller/Edit.pm line 482

I was adding Reiko Sugiura sugiurar@phar.kindai.ac.jp

Original comment by: ValWood

pombase-admin commented 11 years ago

This happens when the person is already in the tool, I think

Original comment by: ValWood

pombase-admin commented 11 years ago

I'll change it so that you get a warning instead.

Original comment by: kimrutherford

pombase-admin commented 11 years ago

Original comment by: kimrutherford