View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002673 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2011-03-31 12:05 | 2012-12-07 14:28 |
Reporter | asarturas | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.4.5 revision 31315 | ||||
Fixed in Version | 4.5.3 revision 39087 | ||||
Summary | 0002673: Parent articles of variants should be loaded in current language of variant | ||||
Description | on oxArticle::getParentArticle() method variant's current language is not considered, so if current shop language=0 and loaded variant language=1 , then parent is loaded in language=0 instead of language=1 , so in this case if some multilingual variant field is not set, then it's set to parent field value (of different language). | ||||
Steps To Reproduce | 1. Empty long description of article variant. 2. Load variant in different language, than current shop language 3. Print out long description field Expected behaviour: long description is set to parent field in same language as variant is. Actual Behaviour: Long description is set to parent field in current shop language (which is different). | ||||
Additional Information | Possible hotfix: in oxArticle::getParentArticle() before loading parent article, set parent language to variant language: setLanguage($this->getLanguage()); | ||||
Tags | Products | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Issue 0002676 is related to this. Please see my comment there (https://bugs.oxid-esales.com/view.php?id=2676#c4306) |
|
@developers: check from source code side if such issue still exist and if offered solution is correct. |