Ticket #1483820 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by thomasb

  • owner set to justinrandell
  • version changed from later to 0.1-beta
  • milestone set to 0.1-beta2

Changed 2 years ago by thomasb

  • milestone changed from 0.1-beta2 to 0.1rc1

Changed 2 years ago by estadtherr

  • owner changed from justinrandell to estadtherr

Changed 2 years ago by estadtherr

  • status changed from new to assigned

Changed 2 years ago by estadtherr

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in 327

Note: See TracTickets for help on using tickets.