Feeds handles entityLoad() now a bit more intellegently. This is a simple patch to update to that. It brings with it, generic handling of update/replace handling.

I'm actually using this as a workaround for a bug in commerce_product_reference_feeds_set_target(). Will try to track it down later.

Comments

twistor’s picture

Status: Active » Needs review
StatusFileSize
new2.78 KB
pcambra’s picture

Status: Needs review » Fixed

No special load for commerce controllers so I guess this is ok.

I'm actually using this as a workaround for a bug in commerce_product_reference_feeds_set_target(). Will try to track it down later.

What's the bug? hope you can report it somewhere.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

pcambra’s picture

Status: Closed (fixed) » Active

Reopening it as it seems to be causing problems

#1215920: Error 500 in import & #1935924: New AJAX HTTP error

rajeevk’s picture

I am also facing problem & it's throwing me error, which looks like --

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /indiareads/batch?id=65&op=do StatusText: Internal Server Error ResponseText:

This is what apache error log says about this failure of feed import.
[Fri May 10 11:38:08 2013] [error] [client 127.0.0.1] PHP Fatal error: Cannot access empty property in sites/all/modules/feeds/mappers/file.inc on line 125, referer: http://localhost/indiareads/batch?op=start&id=65

Can somebody help me out resolving it ?

twistor’s picture

@Rajeevkr, your error is unrelated to this issue.

What version of Feeds are you using? The current file.inc is only 95 lines long.