A lot of following messages was displayed when I upgrade taxonomy_access 5.x-1.1 to 6.x-1.2
user warning: Column count doesn't match value count at row 1 query: INSERT INTO editorial_term_access_defaults (vid, rid, grant_view, grant_update, grant_delete, grant_create, grant_list) VALUES (0, $row_ints)
I examined "taxonomy_access.install" file. It seems following code was never work. Because single quoted $row_ints value was not parsed.
38: $row_ints = implode(", ", $row);
39: update_sql('INSERT INTO {term_access_defaults} (vid, rid, grant_view, grant_update, grant_delete, grant_create, grant_list) VALUES (0, $row_ints)');
It's a bug?
Comments
Comment #1
xjmIt's probably a bug, but 5.x is EOL so I probably won't be fixing it myself.
Change status to "needs review" if you submit a patch.
Comment #2
mula commentedThank you for your message.
I understand that it's a legacy code.
But I submit patch for all in the same boat.
Comment #3
xjmCommitted to 6.x-1.x-dev:
http://drupal.org/cvs?commit=496266
Comment #4
mula commentedThank you!