Opened 7 years ago
Closed 7 years ago
#1483820 closed Bugs (fixed)
database error saving contact after LDAP query
| Reported by: | estadtherr@… | Owned by: | estadtherr |
|---|---|---|---|
| Priority: | 3 | Milestone: | 0.1-rc1 |
| Component: | Database | Version: | 0.1-beta |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The following error comes up when trying to save a contact returned from an LDAP query to the address book:
DB Error in /Library/WebServer/SecureDocuments?/roundcube/program/include/rcube_db.inc (478): DB Error: syntax error Query: INSERT INTO contacts (user_id, name, email VALUES (1,' <contact name> ',' <contact e-mail> ') [nativecode=1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VALUES (1,' <contact name> ',' <contact e-mail> ')' at line 3]
The error is a missing ')' in the INSERT statement in program/steps/addressbook/save.inc line 154
Change History (5)
comment:1 Changed 7 years ago by thomasb
- Milestone set to 0.1-beta2
- Owner set to justinrandell
- Version changed from later to 0.1-beta
comment:2 Changed 7 years ago by thomasb
- Milestone changed from 0.1-beta2 to 0.1rc1
comment:3 Changed 7 years ago by estadtherr
- Owner changed from justinrandell to estadtherr
comment:4 Changed 7 years ago by estadtherr
- Status changed from new to assigned
comment:5 Changed 7 years ago by estadtherr
- Resolution set to fixed
- Status changed from assigned to closed

Fixed in 327