Closed (duplicate)
Project:
RedHen CRM
Version:
7.x-1.x-dev
Component:
redhen_fields
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2012 at 23:20 UTC
Updated:
17 May 2013 at 21:44 UTC
Jump to comment: Most recent file
Comments
Comment #1
jlyon commentedWhen I ran my import the default parameter wasn't set so $redhen_contact->email was NULL. I fixed it by running a VBO, but clearly a little more work here is necessary.
Comment #2
nedjoThanks for posting the patch. This would be a welcome addition. I haven't tested. Here are some minor issues.
Should be redhen_fields.module rather than link.module.
The label parameter isn't used and so should be dropped:
Should use the LANGUAGE_NONE constant rather than the string 'und':
Comment #3
jlyon commentedHere's an updated version of the patch addressing the points above. Thanks for putting that together. Guess I was a little sloppy when I put it together.
Re:
LANGUAGE_NONE: I think we might want to use $field->language or something similar to truly make it multi-lingual, although I haven't done any testing with this:$field[$field->language][$i]['value'] = $v;Comment #4
levelos commentedPerhaps in a redhen.feeds.inc file?
Comment #5
bleedev commentedFeeds does not currently handle "non-core entities" (see http://drupal.org/node/1033202). Once Feeds resolves this issue, this issue could be re-opened.
Comment #6
bleedev commentedAlso, note that the redhen_fields_feeds_set_target function is missing the $mapping variable, which the language would then be set with:
Comment #7
levelos commentedSee RedHen Feeds.