View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005582 | OXID eShop (all versions) | 4.01. Database handling | public | 2013-12-18 15:50 | 2014-03-28 13:19 |
Reporter | saulius.stasiukaitis | Assigned To | |||
Priority | immediate | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.6.0 revision 44406 | ||||
Fixed in Version | 4.6.8 | ||||
Summary | 0005582: There is no check for errors in database queries when production mode turned on. This leads to unpredictable Shop state. | ||||
Description | Shop execution should be stopped if database return error. Now ADODB return false. This lead to unpredictable shop behaviour. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
has duplicate | 0004023 | resolved | Linas Kukulskis | On high load scenario shop is shown as unlicensed |
related to | 0005581 | resolved | svetlana | Failure in database query should be reported, not just ignored |
|
Overwrite the _handleDbConnectionException() function for a different behaviour: https://github.com/OXID-eSales/oxideshop_ce/blob/b-5.1-ce/source/core/oxshopcontrol.php#L675 |
|
This was introduced in 4.6.8, 5.0.10 / 4.7.10 and 4.8.2 / 5.1.2: http://wiki.oxidforge.org/Downloads/4.6.8#Important_information_for_developers http://wiki.oxidforge.org/Downloads/4.7.10_5.0.10#Important_information_for_developers http://wiki.oxidforge.org/Downloads/4.8.2_5.1.2#Important_information_for_developers |