After having imported products and product nodes, the delete process starts automatically! This happened to my 3 times, always, some hours after the import.

I emptied the batch table and flushed cache, but this happened again! How is that possible? I have not enabled periodic import in any importer.

Comments

pcambra’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

I don't think this is coming at all from commerce feeds, once you've done the import, commerce feeds doesn't do anything further.

Please review your cron processes because you've probably got the problem somewhere else.

rlnorthcutt’s picture

We are seeing the same thing here. We have the SKU set as the unique target, but it will start the batch deleting (thru the feed importer) as soon as cron runs after the import completes.

Looking in the DB, the GUID is empty (not sure if that matters). Also searched the main Feeds queue, but no one else seems to be having this problem. Periodic import is OFF, and the processor is set to update existing products (of which there are none).

Is there something else to check? What else might be causing this?

yannisc’s picture

I solved the problem by clearing the job_scheduler table in the db. Also, reset the feeds_source tables.

It appears that I had started a delete process, then stopped it, but it had remained in the db.

pcambra’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

As reported in #1, there's no way that commerce feeds produce this behavior, #3 explanation makes sense, having some job uncompleted that runs on cron.

And you should have something assigned to the GUID column if you want to do updates.

rlnorthcutt’s picture

I can confirm that #3 was the issue... also, setting the GUID is a good idea in all cases!

Thanks, guys

hyperglide’s picture

In the Feeds Setup be certain to set the GUID as a "UNIQUE TARGET" we are using our "SKU" value.