View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006347 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2016-03-11 13:08 | 2024-04-25 09:40 |
Reporter | PrintusOxid | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Platform | Desktop-PC | OS | Windows | OS Version | 7 |
Product Version | 4.9.7 / 5.2.7 | ||||
Summary | 0006347: oxview:_executeNewAction() not working as documented | ||||
Description | trying to redirect to custom viewclass. Wer are using PE-Version. | ||||
Steps To Reproduce | After call of 'toBasket' the redirect url should be called. Tried following urls as data for param $sNewAction: 'oxpr_subscription_frontend¤tStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&' 'oxpr_subscription_frontend¤tStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&' 'cl=oxpr_subscription_frontend¤tStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&' 'cl=oxpr_subscription_frontend¤tStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&' trying the same url in different formats try to use an url with some parameters after the classname: cl=<classname>¶m1=value1¶m2=value2..... | ||||
Additional Information | Exception ist thrown: oxSystemComponentException-oxException (time: 2016-03-11 12:56:47): [0]: ERROR_MESSAGE_SYSTEMCOMPONENT_CLASSNOTFOUND Stack Trace: #0 /data/app/www/hf_oxid7/shop/core/oxutilsobject.php(180): oxUtilsObject->_getObject('oxsystemcompone...', 0, Array) #1 [internal function]: oxUtilsObject->oxNew('oxSystemCompone...') #2 /data/app/www/hf_oxid7/shop/core/oxfunctions.php(363): call_user_func_array(Array, Array) #3 /data/app/www/hf_oxid7/shop/core/oxview.php(563): oxNew('oxSystemCompone...') #4 /data/app/www/hf_oxid7/shop/core/oxview.php(518): oxView->_executeNewAction('cl=oxpr_subscripti...') #5 /data/app/www/hf_oxid7/shop/application/controllers/oxubase.php(633): oxView->executeFunction('tobasket') #6 /data/app/www/hf_oxid7/shop/core/oxshopcontrol.php(399): oxUBase->init() #7 /data/app/www/hf_oxid7/shop/core/oxshopcontrol.php(330): oxShopControl->_initializeViewObject('start', 'tobasket', NULL, NULL) #8 /data/app/www/hf_oxid7/shop/core/oxshopcontrol.php(118): oxShopControl->_process('start', 'tobasket', NULL, NULL) #9 /data/app/www/hf_oxid7/shop/core/oxid.php(32): oxShopControl->start() #10 /data/app/www/hf_oxid7/shop/index.php(18): Oxid::run() 0000011 {main} Faulty component --> cl=oxpr_subscription_frontend¤tStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list& --------------------------------------------- as the exception shows, the function ist not able to extract the classname. (oxpr_subscription_frontend) When I comment the exception in oxview (lines 558-566), the redirect works correctly. the class 'oxpr_subscription_frontend' ist a user module which is activated in backend and working. | ||||
Tags | No tags attached. | ||||
Theme | Other | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
Without question mark the string "oxpr_subscription_frontend¤tStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&" becomes $className = "cl=oxpr_subscription_frontend¤tStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&" With question mark the string "oxpr_subscription_frontend?currentStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&" becomes $className = "oxpr_subscription_frontend" Code documentation says: Input example: "view_name?param1=val1¶m2=val2" => "cl=view_name¶m1=val1¶m2=val2" Can't reproduce the reported issue (EE 7.1.0). |