View Issue Details

IDProjectCategoryView StatusLast Update
0006586OXID eShop (all versions)4.01. Database handlingpublic2018-07-27 16:13
ReporterPaulius.Kupetis 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.10.2 / 5.3.2 
Target VersionFixed in Version 
Summary0006586: \oxBase::_update always returns true
Description\oxBase::_update always returns true.
transforming object to boolean always gives true.

ALSO in V6 shop this is partly fixed - execute returns number, so 0 can be transformed to false other numbers to true.

BUT what this function intends to return?

Maybe it would be better to return if sql was successful or not.
not just if sql affected queries..

This affects some modules like ERP.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionAll
MySQL VersionAll

Activities

anton.fedurtsya

2018-07-27 16:13

manager   ~0012543

Hello, looks like issue is fixed on 2017-03-28, now its eather true on success or DatabaseException on sql error.