Closed (fixed)
Project:
Feeds
Version:
7.x-2.0-alpha4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2011 at 06:54 UTC
Updated:
25 Nov 2016 at 10:18 UTC
Jump to comment: Most recent
Hello, my friends
I have test Feeds importer many times "with article content type and custom importer"
every thing gone fine,
but one main problem, its bypass my custom hook_node_presave() function!
please help me to solve this problem!!
thanks and regards
Comments
Comment #1
math_1048 commentedFixed by change my custom module weight :)
Thanks and regards
Comment #2
math_1048 commentedComment #4
damienmckennaFor anyone else who comes across this, I found that hook_entity_presaved worked whereas hook_node_presave wasn't.
Comment #5
damienmckennaComment #6
mooru commentedWhat variables are available via the $entity variable. Devel doesn't seem to be brining it out and some how the IDE too
Comment #7
math_1048 commentedHello,
I think you can use watchdog to log the output of $entity variable
ie
watchdog("watch entity variable value", print_r($entity,true));hope its works with you.
Comment #8
megachrizSomething like this is what I use to inspect items for code that runs in the background:
If you want to debug a Feeds import during runtime, you could also run the import programmatically:
Note: this code is not recommended to run for large imports as PHP could timeout.