After the 1.1 update, I'm getting PDOExceptions:

PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 ')' at line 1: INSERT INTO {field_data_field_links} (entity_type, entity_id, revision_id, bundle, delta, language, field_links_url, field_links_title, field_links_attributes) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, ); Array ( [:db_insert_placeholder_0] => node [:db_insert_placeholder_1] => 86 [:db_insert_placeholder_2] => 2819 [:db_insert_placeholder_3] => article [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => de [:db_insert_placeholder_6] => http://google.com [:db_insert_placeholder_7] => Google ) in field_sql_storage_field_storage_write() (Line 451 of modules/field/modules/field_sql_storage/field_sql_storage.module).

field_links_attributes is in the column list. However, it is missing in the values list, i.e. db_insert_placeholder_8.
There is only a comma after db_insert_placeholder_7. It seems that this disturbs MySQL.

I'm using Drupal 7.20.

I've found a workaround, I'm setting the "Additional CSS Class" in the field admin. Though, I'm getting a notice #1921248: Return of link_load() unserialize() error, but at least I can save my nodes again.

I tried to debug it, but I didn't figure it out.

Comments

tim.plunkett’s picture

I am also able to reproduce, haven't really dug in yet.

tim.plunkett’s picture

Issue summary: View changes

Add debug info