I really appreciate this module and can think of many uses for it.
Currently I'm getting the error:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'tid' cannot be null
but it doesn't appear I have the option of setting the tid?
Here is the entry from the Feeds log:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'tid' cannot be null
Original item
array (
'header' =>
stdClass::__set_state(array(
'date' => 'Thu, 28 Mar 2013 15:43:05 -0400',
'Date' => 'Thu, 28 Mar 2013 15:43:05 -0400',
'subject' => 'Re: test 3',
'Subject' => 'Re: test 3',
'in_reply_to' => '[[***removed for privacy***]]',,
'message_id' => '',
'references' => '[[***removed for privacy***]]',,
'toaddress' => '[[***removed for privacy***]]',
'to' =>
array (
0 =>
stdClass::__set_state(array(
'mailbox' =>'[[***removed for privacy***]]',
'host' => '[[***removed for privacy***]]',
)),
),
'fromaddress' => '[[***removed for privacy***]]',
'from' =>
array (
0 =>
stdClass::__set_state(array(
'personal' => '[[***removed for privacy***]]',
'mailbox' => '[[***removed for privacy***]]',
'host' => 'gmail.com',
)),
),
'reply_toaddress' => '[[***removed for privacy***]]',
'reply_to' =>
array (
0 =>
stdClass::__set_state(array(
'personal' => '[[***removed for privacy***]]',
'mailbox' => '[[***removed for privacy***]]',
'host' => 'gmail.com',
)),
),
'senderaddress' => '[[***removed for privacy***]]',
'sender' =>
array (
0 =>
stdClass::__set_state(array(
'personal' => '[[***removed for privacy***]]',
'mailbox' => '[[***removed for privacy***]]',
'host' => 'gmail.com',
)),
),
'Recent' => ' ',
'Unseen' => 'U',
'Flagged' => ' ',
'Answered' => ' ',
'Deleted' => ' ',
'Draft' => ' ',
'Msgno' => ' 1',
'MailDate' => '28-Mar-2013 15:43:25 -0400',
'Size' => '2881',
'udate' => 1364499805,
)),
'imap_uid' => 3,
'body_text' => 'test 4
Best Regards
On Thu, Mar 28, 2013 at 3:42 PM, wrote:
> test 3
>
>',
'body_html' => '
test 4
Best Regards
On Thu, Mar 28, 2013 at 3:42 PM, [[***removed for privacy***]] wrote:
test 3
',
'authenticated_uid' => '1',
'date' => 'Thu, 28 Mar 2013 15:43:05 -0400',
'Date' => 'Thu, 28 Mar 2013 15:43:05 -0400',
'subject' => 'Re: test 3',
'Subject' => 'Re: test 3',
'in_reply_to' => '[[***removed for privacy***]]',
'message_id' => '',
'references' => '[[***removed for privacy***]]',
'toaddress' =>'[[***removed for privacy***]]',
'to-name' => '',
'to-address' =>'[[***removed for privacy***]]',
'fromaddress' => '[[***removed for privacy***]]',,
'from-name' => '[[***removed for privacy***]]',
'from-address' => '[[***removed for privacy***]]',
'reply_toaddress' => '[[***removed for privacy***]]',
'reply_to-name' => '[[***removed for privacy***]]',
'reply_to-address' => '[[***removed for privacy***]]',
'senderaddress' => '[[***removed for privacy***]]',
'sender-name' => '[[***removed for privacy***]]',
'sender-address' =>'[[***removed for privacy***]]',
'Recent' => '',
'Unseen' => 'U',
'Flagged' => '',
'Answered' => '',
'Deleted' => '',
'Draft' => '',
'Msgno' => ' 1',
'MailDate' => '28-Mar-2013 15:43:25 -0400',
'Size' => '2881',
'udate' => '1364499805',
'status' => '1',
'attachments' =>
array (
),
)
Entity
stdClass::__set_state(array(
'type' => 'simplenews',
'changed' => 1364828959,
'created' => 1364828959,
'language' => 'und',
'promote' => 0,
'sticky' => 0,
'uid' => '18',
'revision' => false,
'comment' => '1',
'menu' =>
array (
'link_title' => '',
'mlid' => 0,
'plid' => 0,
'menu_name' => 'main-menu',
'weight' => 0,
'options' =>
array (
),
'module' => 'menu',
'expanded' => 0,
'hidden' => 0,
'has_children' => 0,
'customized' => 0,
'parent_depth_limit' => 8,
),
'log' => 'Created by FeedsNodeProcessor',
'feeds_item' =>
stdClass::__set_state(array(
'entity_id' => 0,
'entity_type' => 'node',
'id' => 'add',
'feed_nid' => '1012',
'imported' => 1364828959,
'hash' => '692229e73e358ef886f2f54769768cf4',
'url' => '',
'guid' => '',
)),
'title' => 'Re: test 3',
'body' =>
array (
'und' =>
array (
0 =>
array (
'value' => 'test 4
Best Regards
On Thu, Mar 28, 2013 at 3:42 PM, wrote:
> test 3
>
>',
'format' => 'htmlpurifier',
),
),
),
'status' => '1',
'is_new' => true,
'timestamp' => 1364828959,
'nid' => '1027',
'tnid' => 0,
'translate' => 0,
'vid' => '1133',
'ds_switch' => '',
'simplenews' =>
stdClass::__set_state(array(
'nid' => '1027',
'tid' => NULL,
'status' => 0,
'sent_subscriber_count' => 0,
)),
))
Comments
Comment #1
sifuhall commentedI found the answer here:
http://drupal.org/node/1202850