View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001540 | OXID eShop (all versions) | 4.08. Cache | public | 2009-12-09 10:07 | 2012-12-10 13:38 |
| Reporter | sarunas_valaskevicius | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0001540: commitFileCache is not always called | ||||
| Description | oxUtils::redirect(), oxUtils::showMessageAndExit() and similar methods should call to oxUtils::commitFileCache(). in current situation cache files are left of 0 size for 40 seconds (timeout value) | ||||
| Tags | No tags attached. | ||||
| Theme | |||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
|
|
Priority increased, as this may cause performance problems on shops. |
|
|
fixed |
|
|
If you want to fix problem by yourself just write and define a module for oxUtils class: <?php class modutils extends modutils_parent { public function showMessageAndExit( $sMsg ) { $this->getSession()->freeze(); $this->commitFileCache(); if ( defined( 'OXID_PHP_UNIT' ) ) { return; } exit( $sMsg ); } } |