View Issue Details

IDProjectCategoryView StatusLast Update
0002940OXID eShop (all versions)4.07. Source code, Testpublic2012-12-10 13:44
Reportercsimon Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0 revision 34568 
Fixed in Version4.5.2 revision 38481 
Summary0002940: if you call "getVariants" in a save method of an article which does not exists it returns all parent articles of the shop
Descriptionif 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.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

birute_meilutyte

2011-06-02 18:09

reporter   ~0004677

@developers: check from source code side if such issue still exist