| Summary | DB Error: constraint violation - attributes |
| Queue | Whups |
| Queue Version | 1.0.1 |
| Type | Bug |
| State | No Feedback |
| Priority | 2. Medium |
| Owners | |
| Requester | webmaster (at) mairie-meyzieu (dot) fr |
| Created | 03/05/2010 (5745 days ago) |
| Due | |
| Updated | 04/06/2010 (5713 days ago) |
| Assigned | 03/17/2010 (5733 days ago) |
| Resolved | 04/05/2010 (5714 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
A big thanks for the tips.
State ⇒ Feedback
violation: INSERT INTO whups_attributes(ticket_id, attribute_id,
attribute_value) VALUES ('111', 4, '5') [nativecode=1062 **
Duplicate entry '4' for key 1] [pid 3785 on line 2679 of
"/var/www/html/webmail/whups/lib/Driver/sql.php"]
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Whups
Summary ⇒ DB Error: constraint violation - attributes
Type ⇒ Bug
State ⇒ Unconfirmed
Whups send an error messages to users when they post a ticket.
-> In horde log, I have this :
Mar 05 10:34:21 HORDE [error] [whups] DB Error: constraint violation:
INSERT INTO whups_attributes(ticket_id, attribute_id, attribute_value)
VALUES ('111', 4, '5') [nativecode=1062 ** Duplicate entry '4' for key
1] [pid 3785 on line 2679 of
"/var/www/html/webmail/whups/lib/Driver/sql.php"]
-> In the ticket, no attribute is registred, ever in db but a line
appears in the ticket's history : attribute ⇒ 5