View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006627 | OXID eShop (all versions) | 4.10. AutoLoader | public | 2017-05-03 16:14 | 2017-06-01 10:51 |
Reporter | HR | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 6.0.0-rc.1 | ||||
Target Version | 7.0.0-rc1 | Fixed in Version | 6.0.0-rc.2 | ||
Summary | 0006627: BaseController::executeFunction throws ERROR_MESSAGE_SYSTEMCOMPONENT_CLASSNOTFOUND for metadata v2 modules in some cases | ||||
Description | This 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 Reproduce | Use 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 Information | Issue will be fixed in ESDEV-4477. | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
The issue was fixed in this commit: https://github.com/OXID-eSales/oxideshop_ce/commit/4ddd51b5e9a9293fb6f42c39419140f6fb9219a2 |