GX-Abgewiesen #60872
Von Till Tepelmann vor fast 6 Jahren aktualisiert
Exception bei nicht vorhandenen Artikeln muss gefangen werden, damit der CheckStatusController nicht mit einem Fehler 500 abbricht
FATAL ERROR(1): "Uncaught UnexpectedValueException: The requested product was not found in database (ID: 1789) in /GXMainComponents/Services/Core/Product/Repositories/Reader/ProductRepositoryReader.inc.php:85
Stack trace:
#0 /GXMainComponents/Services/Core/Product/Repositories/ProductRepository.inc.php(152): ProductRepositoryReader->getById(Object(IdType))
#1 /GXMainComponents/Services/Core/Product/ProductReadService.inc.php(77): ProductRepository->getProductById(Object(IdType))
#2 /GXMainComponents/Controllers/HttpView/ShopAjax/CheckStatusController.inc.php(485): ProductReadService->getProductById(Object(IdType))
#3 /GXMainComponents/Controllers/HttpView/ShopAjax/CheckStatusController.inc.php(114): CheckStatusController->_getQuantityChecker()
#4 /GXEngine/Services/System/Http/HttpViewController.inc.php(152): CheckStatusController->actionAttri"