View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006738 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2017-12-07 14:03 | 2024-04-17 10:07 |
Reporter | oxid-Christian.Wolf | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 4.10.6 / 5.3.6 | ||||
Summary | 0006738: Calling shop with former delted vendor as parameter will result in HTTP 500 reponse | ||||
Description | If 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 Reproduce | Go 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 Information | The 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 | ||||
Tags | No tags attached. | ||||
Theme | Flow | ||||
Browser | Firefox, Google Chrome | ||||
PHP Version | 5.6 | ||||
Database Version | 5.7 | ||||