Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.3] Group entities by id to prevent duplicate errors #907

Open
wants to merge 2 commits into
base: develop-2.3
Choose a base branch
from

Conversation

barryvdh
Copy link

When 2 entries exists with the same ID, Magento will throw an Exception which errors the cronjob ebizmarts_ecommerce

Item (Magento\Catalog\Model\Product\Interceptor) with the same ID "xx" already exists.

Grouping by id will only load the entity once.
(Not sure why duplicate entries exist, but I ran into this with both products and customers)

@gonzaloebiz
Copy link
Collaborator

Hi @barryvdh

can you please open an issue about following the issue guidelines

Best

@barryvdh
Copy link
Author

What is not clear about the description? I don't think I have more information, it's a M2.3 store with just this error in the cron.

@gonzaloebiz
Copy link
Collaborator

I need your magento version, your mc-magento2 version, how to replicate the issue (you have all the data in the issue guidelines)

Best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants