View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001448 | OXID eShop (all versions) | 4.08. Cache | public | 2009-11-04 21:47 | 2012-12-10 13:38 |
Reporter | smonkey | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0001448: Related cache is not reset when article goes offline because low stock in CE and PE | ||||
Description | In CE or PE: - set an article to oxstockflag=2 and oxstock=0 - view the articles category - the article still counted for product summary and pagination. Reason: when article goes Offline because low stock, the related cache is not reset (so counter and paging remains the same). In such case related cache should be reset and new one created (on next demand). | ||||
Additional Information | Bug is valid on CE and PE only. In EE it works well (here cache is reset directly after article goes offline). | ||||
Tags | Cache, Stock | ||||
Attached Files | |||||
Theme | |||||
Browser | All | ||||
PHP Version | |||||
Database Version | |||||
|
manually clearing the tmp/ (DB cache?) will fix the problem for the most part product counter is correct and number of pages are correct, but it's still possible to call the additional pages (in screenshot example: Geschenke/Wohnen/Uhren/6/) without get a 404 |
|
The bug is: - when article goes Offline because low stock, the related cache should be reset (then counter and paging will be REcalculated also). In this case cached Category page should be reseted and new one created (on next demand). Bug is valid on CE and PE, and works well in EE (here cache is reset directly after article goes offline). Will add more details to description. |
|
Added additional checking to oxarticle class method onCange() if articles goes offline because of empty stock. I yes, article counts are reseted in cache (only for version PE, EE works well). |