View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006142 | mantisbt | sql | public | 2005-08-15 12:49 | 2005-09-11 08:12 |
| Reporter | Fredy | Assigned To | thraxisp | ||
| Priority | normal | Severity | minor | Reproducibility | unable to reproduce |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.0.0rc1 | ||||
| Fixed in Version | 1.0.0rc2 | ||||
| Summary | 0006142: PostgreSQL: creation of user failed | ||||
| Description | I have fresh installation and i have successfully logged in asi administrator. When i try create new user from administration, a get an error: Database query failed. Error received from database was #-5: ERROR: duplicate key violates unique constraint "mantis_user_table_pkey" for the query: INSERT INTO mantis_user_table ( username, email, password, date_created, last_visit, I have tried running this query from phpPgAdmin and it was completed successfully (i was connected with same user as mantis do). | ||||
| Additional Information | Apache 2.0.54 | ||||
| Tags | No tags attached. | ||||
|
This is curious. I had an old database that exhibited this behaviour. It seems that the first insert into this table fails. Once the data is inserted, future creation of users is successful. Upon recreating the database, I don't see any failures. |
|
|
Upon further investigation, it looks like the initial INSERT of user data was done wrong in rc1. It bypassed the auto-increment field. This was fixed in 0006021. |
|