Closed mdubbelman closed 7 years ago
Hello,
Unfortunately we could not reproduce the issue with the Magento test data. Could you send me the database (fgruntjes@emico.nl) or give access to the test environment so we can debug the issue there.
If thats an option please send the information to fgruntjes@emico.nl or give access using my public key.
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3lL78eUCbw9cxooQICUtzIGBtJrh13rHaUuepQAHUZtFRFfWc1wxouqzTuixIBgdAxJk1tmexUUPzp4lZkCuRVqlK3pabKwBTSazGSB20+AdEfPmDt+E/yDWfRTfBdxEnRcpaTqiAs2ygYfjX+RvIFinOoovuI0HATVUnv3CbaQTR1QFAhG73GNxLaeI/R8rUMtStpiL0YiQgZzVUCFY6FnLvoMLcn+p9AN+lD1KH6caJ4PoCMyE83Rc/20fM3S/Q41mMgl8n/SkyleWN409e1EpmuMYx15rIliKXQoPYmpBsnzRW3IPgYXuW0oJsHg8fzYZosaP1HYaeqcl6X+3D fgruntjes@emico.nl
Thank you for your input.
The issue was caused because we forgot to clear the write batch in the product iterator.
We are getting duplicate entries in the tweakwise export feed.
-- When we are exporting the products via the tweakwise export module everything looks OK and the feed is generated. But when we try to import the feed in the Tweakwise Navigator we get an error because of dupicate ID's
Environment
Steps to reproduce
develop
branch.php bin/magento tweakwise:export
Actual result
Duplicate ID's in generated feed:
The product ID exists only 1 time in the database
Expected result
-- Maybe there must be a
group by
orDISTINCT
in the product selection query?