View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004802 | OXID eShop (all versions) | 2.1. Master Settings | public | 2012-12-17 14:41 | 2012-12-17 14:47 |
Reporter | aurimas.gladutis | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.2 / 5.0.2 revision 53018 | ||||
Target Version | 4.7.2 / 5.0.2 revision 53018 | Fixed in Version | 4.7.2 / 5.0.2 revision 53018 | ||
Summary | 0004802: Content caching does not save values | ||||
Description | When 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 Reproduce | Setup shop with EE edition licence key with no reverse proxy, Go to admin/main settings/cache, try to check content cache and save. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
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. |