Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2011 at 11:22 UTC
Updated:
12 Jan 2012 at 22:30 UTC
Jump to comment: Most recent file
I had some problems with the error message being an array sometimes in FeedsProcessor process method, attaching a little fix for it.
Also attached a fix for avoid calling twice getMessage in the exception.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | feeds_message_error-1179936.patch | 1.01 KB | pcambra |
Comments
Comment #1
pcambraComment #2
dave reidYou're just moving the call to drupal_set_message() down a few lines, I'm not sure how that avoids calling it twice?
The other bug has been fixed in #1149226: If log message is an array, feeds_log produces error: SQLSTATE[21S01].
Comment #3
pcambraWell, it just avoids calling e->getMessage() twice by placing it in a variable, not sure if it makes sense. The main fix was the array thing.
Comment #4
emackn commentedpatch no longer viable. Fixed with #1149226: If log message is an array, feeds_log produces error: SQLSTATE[21S01] and #606612: More detailed log