Closed (fixed)
Project:
Salesforce Suite
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Mar 2013 at 16:48 UTC
Updated:
7 Sep 2014 at 22:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hazaThose variables are defined just below in the code. Here is a patch that move them just above the check.
Comment #2
kostajh commentedI see the problem that $entity_type and $entity_id are not defined, but with the patch in #1 that conditional check will always return true, right?
Comment #3
hazaOh ! Yes, you're right. I think I was really lacking sleep last week.
So, we really need to check against what we need to check those values.
Comment #4
adanielyan commentedIs there any update on this issue?
Comment #5
kostajh commented@levelos can you take a look at this? Not sure what was intended here.
Comment #6
aaronbaumanI believe the intention is to prevent duplicates during cron run.
The existing catch will only work if queue items are sorted sequentially by entity id.
A better mechanism is to explicitly track which entity ids have been processed.
See attached patch (which also solves issue of undefined variables)
Comment #7
aaronbaumanComment #8
tauno commentedApplied manually and committed with comments in d98c272. Thanks!
Comment #12
Deester4x4jr commentedThis doesn't seem to have been fixed. I'm running 7.x-3.0+17-dev and I am still getting this issue on salesforce_push.
I downgraded to 7.x-3.0 prod, and still am seeing issues. Made a small change, and the issue is now gone:
Comment #13
coatezy commentedI'm also experiencing this issue. Can this be reopened?