View Issue Details

IDProjectCategoryView StatusLast Update
0004802OXID eShop (all versions)2.1. Master Settingspublic2012-12-17 14:47
Reporteraurimas.gladutis 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.2 / 5.0.2 revision 53018 
Target Version4.7.2 / 5.0.2 revision 53018Fixed in Version4.7.2 / 5.0.2 revision 53018 
Summary0004802: Content caching does not save values
DescriptionWhen trying to enable content caching when serial key does not allow reverse proxy, javascript fails and does not save it, so there is no way to enable content caching.
Steps To ReproduceSetup shop with EE edition licence key with no reverse proxy,
Go to admin/main settings/cache,
try to check content cache and save.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Activities

aurimas.gladutis

2012-12-17 14:47

reporter   ~0008142

At application/views/admin/tpl/shop_cache.tpl enableCache() function should be changed to:

function enableCache()
{
    blCheck = true;
    var oForm = document.getElementById("myedit1");
    [{if $blReverseProxyisActive}]
    if ( document.getElementsByName('confbools[blReverseProxyActive]')[1].checked && document.getElementsByName('confbools[blUseContentCaching]')[1].checked ) {
        blCheck = confirm('[{ oxmultilang ident='SHOP_CACHE_WARNING_CONTENTCACHE_ENABLED' }]' + "\n" + '[{ oxmultilang ident='SHOP_CACHE_ENABLE_CACHE' }]');
    }
    [{/if}]
    if( blCheck == true)
    {
        oForm.fnc.value='save';
        oForm.submit();
    }
}

as it was trying to find non existing checkbox and javascript failed.