Closed (duplicate)
Project:
Feeds Profile2
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 May 2015 at 09:00 UTC
Updated:
18 Oct 2016 at 20:42 UTC
Jump to comment: Most recent
Comments
Comment #1
mautumn commentedUsing Feeds Profile2 7.x-1.2, Feeds 7.x-2.0-alpha8, and Entity API 7.x-1.6 - I'm experiencing a similar problem - I cannot import HTML content to a Profile2 Long Text field with Full HTML - however I can import to a non-Profile2 Long Text field. To get around the problem for the moment I am importing to a non-Profile2 Long text field and then using VBO to copy to the Profile2 field.
Comment #2
cwkosman commentedAfter troubleshooting Feeds Profile2 I have a few suggestions for you:
1. Out of the box Feeds Profile2 does not support import to fields of type long text. There is a patch for long text fields (among other types of fields) on this thread: https://www.drupal.org/node/2676208
2. What file format are you using to import? My suggestion is XML because you can easily preserve HTML tags by using the
Comment #3
imclean commentedMost of the problems relating to importing fields of various types could be resolved by using the correct feeds callback to set the value. feeds_profile2 doesn't currently do this.
The latest patch in this issue uses the correct callback for each field, if present, and falls back to feeds setting the target value with processor->setTargetElement(): #2423193: Add generic support for complex fields such as AddressField, Taxonomy and link fields
Comment #4
cwkosman commentedThe solution provided in the thread referenced by imclean is better than the one I cited in (#2) because it provides generic support.
Comment #5
imclean commentedSee #2423193: Add generic support for complex fields such as AddressField, Taxonomy and link fields