mash2 / cobby-magento2

Open Software License 3.0
4 stars 3 forks source link

Product get duplicate with Null sku in Database #8

Open chirag-taraviya opened 3 years ago

chirag-taraviya commented 3 years ago

after adding or modify info to Cobby Magento products get duplicated in database and can not load grid inbackend.

Magento ver. 2.4.2-p1

Cobby Extension latest version 1.54.1

wDackel commented 3 years ago

Hello @chirag-taraviya,

thanks for your report. We review the issue. Do you have more Information for us?

best regards

chirag-taraviya commented 3 years ago

I attached error report while we save any product its create new entry in database with SKU value NULL. Because of this NULL sku entry in catalog_product_entiry table Magento backend returns error.

I have to delete those entry from catalog_product_entity table which has sku is null to get site working.

Please review error report.

{"0":"Item (Magento\Catalog\Model\Product\Interceptor) with the same ID \"1711\" already exists.","1":"#1 Magento\Eav\Model\Entity\Collection\AbstractCollection->addItem() called at [vendor\/magento\/module-eav\/Model\/Entity\/Collection\/AbstractCollection.php:1142]\n#2 Magento\Eav\Model\Entity\Collection\AbstractCollection->_loadEntities() called at [vendor\/magento\/module-eav\/Model\/Entity\/Collection\/AbstractCollection.php:930]\n#3 Magento\Eav\Model\Entity\Collection\AbstractCollection->load() called at [vendor\/magento\/module-catalog\/Model\/ResourceModel\/Product\/Collection.php:833]\n#4 Magento\Catalog\Model\ResourceModel\Product\Collection->load() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#5 WeltPixel\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor->callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#6 WeltPixel\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#7 WeltPixel\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor->callPlugins() called at [generated\/code\/WeltPixel\/LayeredNavigation\/Model\/ResourceModel\/Fulltext\/Collection\/Interceptor.php:41]\n#8 WeltPixel\LayeredNavigation\Model\ResourceModel\Fulltext\Collection\Interceptor->load() called at [vendor\/magento\/framework\/Data\/Collection.php:839]\n#9 Magento\Framework\Data\Collection->getIterator() called at [vendor\/magento\/module-catalog\/Block\/Product\/ListProduct.php:366]\n#10 Magento\Catalog\Block\Product\ListProduct->getIdentities() called at [vendor\/magento\/module-page-cache\/Model\/Layout\/LayoutPlugin.php:96]\n#11 Magento\PageCache\Model\Layout\LayoutPlugin->afterGetOutput() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:146]\n#12 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#13 Magento\Framework\View\Layout\Interceptor->callPlugins() called at [generated\/code\/Magento\/Framework\/View\/Layout\/Interceptor.php:50]\n#14 Magento\Framework\View\Layout\Interceptor->getOutput() called at [vendor\/magento\/framework\/View\/Result\/Page.php:258]\n#15 Magento\Framework\View\Result\Page->render() called at [vendor\/magento\/framework\/View\/Result\/Layout.php:171]\n#16 Magento\Framework\View\Result\Layout->renderResult() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#17 Magento\Framework\View\Result\Page\Interceptor->callParent() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#18 Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#19 Magento\Framework\View\Result\Page\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/View\/Result\/Page\/Interceptor.php:32]\n#20 Magento\Framework\View\Result\Page\Interceptor->renderResult() called at [vendor\/magento\/framework\/App\/Http.php:120]\n#21 Magento\Framework\App\Http->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:263]\n#22 Magento\Framework\App\Bootstrap->run() called at [pub\/index.php:29]\n","url":"\/de_de\/insulated-transport\/insulated-delivery-bags.html","script_name":"\/index.php","report_id":"ee26241ad08f0181a5cadb93d9e4017c8c70761fa8b525e044806aaa0a5fb0a6"}

chirag-taraviya commented 3 years ago

Here is video Please review

https://www.loom.com/share/82141bb0d8ce46348aa8759d4ce475f8

On Tue, Jul 27, 2021 at 2:11 PM wDackel @.***> wrote:

Hello @chirag-taraviya https://github.com/chirag-taraviya,

thanks for your report. We review the issue. Do you have more Information for us?

best regards

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mash2/cobby-magento2/issues/8#issuecomment-887326912, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEBZDMMDXBESAHGP5SQVMDTZZWMFANCNFSM5A34YTWA .

-- Regards & Thanks Chirag Taraviya

dimajanzen commented 3 years ago

@chirag-taraviya HI thank you for the video, it helped us understand the issue. We already have an idea what the cause can be and we are checking it.

Kind regards Dima