View Issue Details

IDProjectCategoryView StatusLast Update
0001540OXID eShop (all versions)4.08. Cachepublic2012-12-10 13:38
Reportersarunas_valaskevicius Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001540: commitFileCache is not always called
DescriptionoxUtils::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)
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

dainius.bigelis

2009-12-09 10:11

reporter   ~0002185

Priority increased, as this may cause performance problems on shops.

arvydas_vapsva

2009-12-14 10:35

reporter   ~0002210

fixed

arvydas_vapsva

2010-06-08 15:04

reporter   ~0003152

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 );
    }
}