View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001342 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2009-09-24 19:01 | 2012-12-07 14:29 |
Reporter | csimon | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.5 revision 21618 | ||||
Fixed in Version | 4.1.6 revision 22740 | ||||
Summary | 0001342: Retrieval of Product Title of a variant doesn't always return the title | ||||
Description | Hi, 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. | ||||
Tags | Products | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||