View Issue Details

IDProjectCategoryView StatusLast Update
0007391OXID eShop (all versions)1.03. Basket, checkout processpublic2024-08-07 15:21
Reportermichael_keiluweit Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version6.5.1 
Target Version6.5.3 
Summary0007391: An exception is thrown if a product gets deleted, while someone has it in the basket
DescriptionA customer puts a product into his cart, but does not yet buy it (because he wants to buy at a later time) => the article it kept stored in the cart. => Fine!

Now the article is deleted by the webshop administrator.

When the customer calls the shopping cart he sees a blank page => that's not how it should be....
Steps To Reproduce1) Put a product into the basket
2) Open the basket
3) Delete the product via the administration area in a new browser tab
4) Go back to the basket tab and use the yellow button "update".
5) You will get a white page and an entry in the oxideshop.log file.

Refreshing the browser page or reopening the basket will not cause this error, it's necessary to use the update button in the basket itself.
Additional Information[2022-12-15 10:46:20] OXID Logger.ERROR: Der Artikel "058de8224773a1d5fd54d523f0c823e0" ist leider nicht mehr verfügbar ["[object] (OxidEsales\\Eshop\\Core\\Exception\\NoArticleException(code: 0): Der Artikel \"058de8224773a1d5fd54d523f0c823e0\" ist leider nicht mehr verfügbar at /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/UtilsObject.php:231)\n[stacktrace]\n#0 /var/www/oxideshop/source/oxfunctions.php(104): OxidEsales\\EshopCommunity\\Core\\UtilsObject->oxNew('OxidEsales\\\\Esho...')\n#1 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Model/BasketItem.php(495): oxNew('OxidEsales\\\\Esho...')\n#2 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Model/Basket.php(1520): OxidEsales\\EshopCommunity\\Application\\Model\\BasketItem->getArticle(false)\n#3 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Component/BasketComponent.php(399): OxidEsales\\EshopCommunity\\Application\\Model\\Basket->getBasketSummary()\n#4 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Component/BasketComponent.php(247): OxidEsales\\EshopCommunity\\Application\\Component\\BasketComponent->_addItems(Array)\n#5 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): OxidEsales\\EshopCommunity\\Application\\Component\\BasketComponent->changeBasket()\n#6 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ee/Core/Controller/BaseController.php(64): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('changebasket')\n#7 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Application/Controller/FrontendController.php(548): OxidEsales\\EshopEnterprise\\Core\\Controller\\BaseController->executeFunction('changebasket')\n#8 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(398): OxidEsales\\EshopCommunity\\Application\\Controller\\FrontendController->init()\n#9 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(278): OxidEsales\\EshopCommunity\\Core\\ShopControl->_initializeViewObject('OxidEsales\\\\Esho...', 'changebasket', NULL, NULL)\n#10 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\Esho...', 'changebasket', NULL, NULL)\n#11 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#12 /var/www/oxideshop/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#13 {main}\n"] []
TagsBasket
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

QA

2022-12-15 11:15

administrator   ~0014961

-MK

SvenBrunk

2024-08-07 15:19

administrator   ~0017373

There should be customer-facing warning that the product has been removed