Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2010 at 09:13 UTC
Updated:
8 Jul 2015 at 21:24 UTC
Jump to comment: Most recent
I have imported some nodes from CSV. After the import is done, I can view the nodes and it looks fine, but when I edit one node, only the Title field (I have changed the label of the title field) is filled with text. The other fields are blank, but there should be some text.
I am using "Update existing nodes" option in Node Processor. Target contenttype only contains text fields.
Comments
Comment #1
blue56 commentedI used a GUID as unique target.
If I try to update one of the imported nodes then some of the fields disappear. Very strange.
Comment #2
blue56 commentedI think it must be a bug.
Comment #3
johnvI have the same problem on feeds7-alpha2 and D7-rc3.
Also, if I edit+save the node, and then open a simple view for that node type, the changed node is replicated several times.
Comment #4
johnvBelow 'patch' resolves the problem of useless imported nodes.
The error is caused because in table 'node', the field 'language' is not set. It should be set to 'und' (undefined language), like in the field_data_*-tables. Now, if the node is edited, the UI finds no value for node-language, and sets this to the default/user's language, e.g. 'en'. It also fetches the fields, but there are no field_data_*-values in the language 'en', only in 'und'.
Sorry for not providing a 'real' patch.
Comment #5
David Goode commentedAlready fixed in latest version.
Comment #7
bnine commentedif you apply patch from http://drupal.org/node/1183440 it doesn't seem to work
Comment #8
franzDon't push issues into critical.
Why re-open this issue if the problem is with the patch in another issue?
Comment #9
seanr#4 also needs to be applied to FeedsTermProcessor.inc
Comment #10
twistor commentedWe're tackling this.