Ich habe Artikel im System, bei denen nichts hinterlegt ist, die ich aber auch nicht löschen kann.
Daher funktioniert anscheinend auch der Import nicht.
Wenn ich die Artikel löschen will, kommt diese Fehlermeldung:
Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. Entity of type ‚Shopware\Models\Article\Article‘ for IDs id(64) was not found in vendor/doctrine/orm/lib/Doctrine/ORM/EntityNotFoundException.php on line 47 Stack trace: #0 vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php(164): Doctrine\ORM\EntityNotFoundException::fromClassNameAndIdentifier(‚Shopware\Models…‘, Array) #1 var/cache/production_202105060633/doctrine/proxies/_CG__ShopwareModelsArticleArticle.php(108): Doctrine\ORM\Proxy\ProxyFactory->Doctrine\ORM\Proxy{closure}(Object(Shopware\Proxies_CG\Shopware\Models\Article\Article), ‚__load‘, Array) #2 var/cache/production_202105060633/doctrine/proxies/__CG__ShopwareModelsArticleArticle.php(108): Closure->invoke(Object(Shopware\Proxies_CG\Shopware\Models\Article\Article), 'load’, Array) #3 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(2381): Shopware\Proxies_CG\Shopware\Models\Article\Article->load() #4 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1842): Doctrine\ORM\UnitOfWork->cascadeRemove(Object(Shopware\Proxies_CG\Shopware\Models\Article\Article), Array) #5 vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1813): Doctrine\ORM\UnitOfWork->doRemove(Object(Shopware\Proxies_CG\Shopware\Models\Article\Article), Array) #6 vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(615): Doctrine\ORM\UnitOfWork->remove(Object(Shopware\Proxies_CG\Shopware\Models\Article\Article)) #7 engine/Shopware/Components/Api/Resource/Article.php(467): Doctrine\ORM\EntityManager->remove(Object(Shopware\Proxies_CG\Shopware\Models\Article\Article)) #8 engine/Shopware/Controllers/Backend/ArticleList.php(515): Shopware\Components\Api\Resource\Article->delete(64) #9 engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Backend_ArticleList->deleteProductAction() #10 engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch(‚deleteProductAc…‘) #11 engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #12 engine/Shopware/Kernel.php(188): Enlight_Controller_Front->dispatch() #13 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 vendor/symfony/http-kernel/HttpCache/HttpCache.php(453): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(Object(Shopware\Kernel), Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 engine/Shopware/Components/HttpCache/AppCache.php(261): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #16 vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #17 engine/Shopware/Components/HttpCache/AppCache.php(102): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #18 shopware.php(122): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #19 {main}