View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002112 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2010-09-19 12:07 | 2011-10-27 15:03 |
Reporter | avenger | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 4.4.2 revision 29492 | ||||
Fixed in Version | 4.5.5 revision 40299 | ||||
Summary | 0002112: Wrong redirection after exception in admin area | ||||
Description | If an exception occurs in the admin-area (e.g. a missing module file), the redirection taken is wrong, so that the frontend-startpage is displayed in the lower half of the admin-screen. Reason is, that in oxshopcontrol, function start() the shop is redirected to "$myConfig->getShopHomeUrl() .'cl=start'", not taking into account, that we are currently in the admin-area. try { $this->_process( $sClass, $sFunction ); } catch( oxSystemComponentException $oEx ) { //possible reason: class does not exist etc. --> just redirect to start page oxUtilsView::getInstance()->addErrorToDisplay( $oEx ); oxUtils::getInstance()->redirect( $myConfig->getShopHomeUrl() .'cl=start' ); } catch ( oxCookieException $oEx ) { // redirect to start page and display the error oxUtilsView::getInstance()->addErrorToDisplay( $oEx ); oxUtils::getInstance()->redirect( $myConfig->getShopHomeUrl() .'cl=start' ); } | ||||
Steps To Reproduce | Remove module file of a class used in the admin | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||