View Issue Details

IDProjectCategoryView StatusLast Update
0002624OXID eShop (all versions)4.08. Cachepublic2012-12-10 13:39
Reportersarunas_valaskevicius Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.3.2 revision 27884 
Fixed in Version4.4.8 revision 34028 
Summary0002624: EE cache ignores thrown errors
Descriptionwhen error should be displayed to user from some function, but the page is cached, the error will be hidden, the page should be shown as it was cached (without displaying error to user), and only later, when user comes to some non cachable page, the error would be shown.

what is more important, (untested possibility) that if that page would be cachable but not yet cached, the error would go to the cache and possibly be visualised for all users.
Steps To Reproducee.g. got to details, which have 2 products left in stock, put first two to ensure fnc tobasket of this page is cached, when adding the item 3rd time, the stock has run out and no message will be displayed (but it should be). instead, when you go to basket view, all errors will be shown now out of nowhere together with basket popup.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

sarunas_valaskevicius

2011-03-17 14:24

reporter   ~0004234

Last edited: 2011-03-17 14:27

thrown exceptions (check if oxSession::getVar( 'Errors' ) is not empty) while executing some function should force to skip cache

sarunas_valaskevicius

2011-03-21 13:10

reporter   ~0004240

fixed in oxshopcontrol