View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002028 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2010-08-05 12:35 | 2012-12-10 14:38 |
Reporter | mirsch | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Platform | all | OS | all | OS Version | all |
Product Version | 4.4.1 revision 28950 | ||||
Fixed in Version | 4.4.2 revision 29492 | ||||
Summary | 0002028: oxsession can't be overloaded | ||||
Description | As described in http://wiki.oxidforge.org/Downloads/4.1.3 I tried to "write a module for "oxsession::_isSessionRequiredAction()" method" but overloading oxsession is not possible. Temporary solution ist to either do not write a module but set blForceSessionStart in config.inc.php to true or prefill the aModules array in config.inc.php e.g. $this->aModules = array( 'oxsession' => 'my_module/my_class' ); | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Multiple times reported, not possible to solve with current model |
|
"oxsession" is one of classes which can't be extended in regular way. The only LEGAL solution is config.inc.php and "$this->aModules = array( 'oxsession' => 'my_module/my_class' );" Bigger list of non extendable classes can be found http://www.oxid-esales.com/forum/showthread.php?p=33868. I will add them to wiki for tha future. |