View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002940 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2011-05-27 08:12 | 2012-12-10 13:44 |
Reporter | csimon | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0 revision 34568 | ||||
Fixed in Version | 4.5.2 revision 38481 | ||||
Summary | 0002940: if you call "getVariants" in a save method of an article which does not exists it returns all parent articles of the shop | ||||
Description | if you call "getVariants" in a save method of an article which does not exists (e.g. it is about to be created) it returns all parent articles of the shop. This is because the query for variants is fired with " oxparentid = '' ". There should be a check if the oxarticle object has an existing OXID (e.g. getId() delivers a result) and only in this case the query should be fired. | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||