View Issue Details

IDProjectCategoryView StatusLast Update
0006738OXID eShop (all versions)1. ----- eShop frontend -----public2024-04-17 10:07
Reporteroxid-Christian.Wolf Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version4.10.6 / 5.3.6 
Summary0006738: Calling shop with former delted vendor as parameter will result in HTTP 500 reponse
DescriptionIf you call the shop with a certain set of parameters (containing the ID of a deleted vendor) the call will result in an uncaught error.
The shop will respond with a HTTP 500 instead of a HTTP 404.
Steps To ReproduceGo to demoshop using this URL
https://demoshop.oxid-esales.com/professional-edition/index.php?cl=vendorlist&cnid=v_3dc0b8600440350ed3c3c3d718afa4ea

The vendor with this ID should not exist in your DB.
Look at the response header before the demoshop reloads (only a dew seconds time here).
It will show a HTTP 500 header.
Additional InformationThe error that causes this looks as follows

Fatal error: Call to a member function getId() on boolean in /home/christian_wolf/SHOPS/PE/4106/application/controllers/vendorlist.php on line 449
Call Stack
# Time Memory Function Location
1 0.0002 241336 {main}( ) .../index.php:0
2 0.0038 367328 Oxid::run( ) .../index.php:18
3 0.0071 655544 oxShopControl->start( ) .../oxid.php:32
4 0.1541 4568288 oxShopControl->_process( ) .../oxshopcontrol.php:118
5 0.2824 9447336 oxShopControl->_render( ) .../oxshopcontrol.php:356
6 0.2844 9596560 VendorList->render( ) .../oxshopcontrol.php:474
7 0.2844 9596776 VendorList->getVendorTree( ) .../vendorlist.php:100
TagsNo tags attached.
ThemeFlow
BrowserFirefox, Google Chrome
PHP Version5.6
Database Version5.7

Activities

There are no notes attached to this issue.