View Issue Details

IDProjectCategoryView StatusLast Update
0006627OXID eShop (all versions)4.10. AutoLoaderpublic2017-06-01 10:51
ReporterHR Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.0.0-rc.1 
Target Version7.0.0-rc1Fixed in Version6.0.0-rc.2 
Summary0006627: BaseController::executeFunction throws ERROR_MESSAGE_SYSTEMCOMPONENT_CLASSNOTFOUND for metadata v2 modules in some cases
DescriptionThis issue currently concerns only modules with metadata V2 and own controllers that have methods
returning new actions involving module controllers.

Assume BaseController::executeFunction() in case the called method returns
another action string like e.g. 'mymodulecontroller?fnc=doSomethingElse&someParameter=1'.
In this case, method BaseController::_executeNewAction() is called with said string as an argument.
The string is parsed into class name 'mymodulecontroller' plus method to be called etc.
As the given class name is actually only the controller key for namespaced modules (metadata v2)
we get an exception ERROR_MESSAGE_SYSTEMCOMPONENT_CLASSNOTFOUND. What need to be done is to resolve
this controller key into the fully qualified class name.
The shop code itself is in this place atm safeguarded by the BC layer that still matches controller keys to the BC class names.

Steps To ReproduceUse PayPal metadata v2 version (atm in dev branch)
- reset shop
- delete cookies
- activate module
- in frontend got to article details page
- click button 'directly to paypal'
- check error log
Additional InformationIssue will be fixed in ESDEV-4477.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

HR

2017-05-08 11:27

administrator   ~0012074

The issue was fixed in this commit:
https://github.com/OXID-eSales/oxideshop_ce/commit/4ddd51b5e9a9293fb6f42c39419140f6fb9219a2