View Issue Details

IDProjectCategoryView StatusLast Update
0003390OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:28
Reportertjungcl 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product VersionPast development 
Target VersionFixed in Version4.6.0_beta3 
Summary0003390: getArticleLongDesc with given sOxid param uses wrong parent if longdesc empty
Descriptionthe function has an optional parameter sOxid which defines, from wich article the longdesc is loaded.

if the articles longdesc is empty, the function loads the longdesc from the parent. However, the parent is loaded from $this, not from $sOxid.

Either the parent-data has to be loaded from $sOxid's parent if $sOxid is given, or better with given sOxid the parent data should not be loaded at all (assuming, that calling getArticleLongDesc('12345') means, that i want the longdesc from exaclty THAT article, not its parents.
TagsProducts
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

Linas Kukulskis

2012-02-13 14:52

reporter   ~0005722

final solution: method returns longdesc from article if not found form parent. the usage of parent is complicated so it removed (use just new object load article and get longdesc). This method marked as deprecated, instead of it use getLongDescription()