When uploading a file and a line contains an error, feeds produces a message
Line 184 plugins/FeedsProcessor.inc :
...
if ($state->failed) {
$messages[] = array(
'message' => format_plural(
$state->failed,
'Failed importing @number @entity',
'Failed importing @number @entities',
array('@number' => $state->failed) + $tokens
),
'level' => WATCHDOG_ERROR,
);
}
...
The message array causes an array when log query is executed at feeds.module line 726.
Error:
SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 1
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | feeds-1149226-2-feeds_log_array.patch | 1.24 KB | jamsilver |
| #2 | feeds-1149226-2-feeds_log_array-drush_make.patch | 916 bytes | jamsilver |
Comments
Comment #1
JeschMB commentedComment #2
jamsilver commentedA simple solution is attached as a patch.
Comment #3
sachbearbeiter commentedsubscribe
Comment #4
jelle_ssubscribe
Comment #5
dave reidActually http://drupalcode.org/project/feeds.git/commit/b5c3fc9 was the proper fix, but thank you for reporting and patching this issue.