View Issue Details

IDProjectCategoryView StatusLast Update
0002028OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:38
Reportermirsch Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformallOSallOS Versionall
Product Version4.4.1 revision 28950 
Fixed in Version4.4.2 revision 29492 
Summary0002028: oxsession can't be overloaded
DescriptionAs 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'
);
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

kdasdasf

2010-08-05 19:15

reporter   ~0003353

Multiple times reported, not possible to solve with current model

arvydas_vapsva

2010-08-12 15:59

reporter   ~0003386

Last edited: 2010-08-12 15:59

"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.