View Issue Details

IDProjectCategoryView StatusLast Update
0006347OXID eShop (all versions)4.07. Source code, Testpublic2016-03-14 10:52
ReporterPrintusOxid 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
PlatformDesktop-PCOSWindowsOS Version7
Product Version4.9.7 / 5.2.7 
Target VersionFixed in Version 
Summary0006347: oxview:_executeNewAction() not working as documented
Descriptiontrying to redirect to custom viewclass.
Wer are using PE-Version.
Steps To ReproduceAfter call of 'toBasket' the redirect url should be called.
Tried following urls as data for param $sNewAction:
'oxpr_subscription_frontend&currentStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&'
'oxpr_subscription_frontend&currentStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&'
'cl=oxpr_subscription_frontend&currentStep=2&cnid=&anid=c87ee306ca3a9b2a445f7c8d6db0ee6d&listtype=list&'
'cl=oxpr_subscription_frontend&currentStep=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>&param1=value1&param2=value2.....
Additional InformationException 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&currentStep=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.
TagsNo tags attached.
ThemeOther
BrowserAll
PHP Version5.6
MySQL Version5.6

Activities

There are no notes attached to this issue.