View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006216 | OXID eShop (all versions) | 4.01. Database handling | public | 2015-08-13 15:41 | 2015-11-19 08:53 |
Reporter | brainshack | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.9.4 / 5.2.4 | ||||
Fixed in Version | 4.9.7 / 5.2.7 | ||||
Summary | 0006216: Views are broken for language Id > 7 | ||||
Description | Hello, there seems to be an issue with view generation, introduced with this commit: https://github.com/OXID-eSales/oxideshop_ce/commit/e70479fc8399adec893c9f3ab64cd15d10d1c9fd Since we updated to 5.2.3, _set tables are no longer used in views, but instead the field in oxarticles will be used. This will lead every of our shops that has a language id > 7 to display all products in the default language. A simple fix for this issue, is to revert the commit posted above. Unfortunately, since we are using the enterprise edition of the shop, we cant fix this issue in our installation. What basically happens is the following: in getSinglelangFields inside oxdbmetadatahandler, a list of fields is generated by base and language specific fields. When the methods iterates over the list of fields, it will add those to an array. However, since the base fields come after the language fields, the resulting list will always consist of the base fields, and never use the colums from the _set table. | ||||
Tags | No tags attached. | ||||
Theme | Other | ||||
Browser | Not defined | ||||
PHP Version | 5.4 | ||||
Database Version | Not defined | ||||