View Issue Details

IDProjectCategoryView StatusLast Update
0001342OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2012-12-07 14:29
Reportercsimon Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.5 revision 21618 
Fixed in Version4.1.6 revision 22740 
Summary0001342: Retrieval of Product Title of a variant doesn't always return the title
DescriptionHi,

we experienced some Problem with retrieval of article titles (of variants). The value of $oArticle->oxarticles__oxtitle->value is sometimes at first call empty, and in second call it contains the right value.

For example:

var_dump($oArticle->oxarticles__oxtitle->value); -> var dumps string(0) ""
var_dump($oArticle->oxarticles__oxtitle->value); -> var dumps string(4) "test"

We found the issue in oxarticle.php.

There the value $this->sName gets eventually refreshed, while retrieving the values of the variant parent. But at the end, the old value $sRet is returned. This could be fixed, simply by returning $this->sName instead of $sRet.
TagsProducts
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

There are no notes attached to this issue.