View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002692 | OXID eShop (all versions) | 4.06. Language and translations | public | 2011-04-04 17:16 | 2011-08-16 15:43 |
Reporter | Helmut L. | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.5.0_beta4 | ||||
Fixed in Version | 4.5.2 revision 38481 | ||||
Summary | 0002692: When there is only one langauge per table, multilanguage fields can not be recognized | ||||
Description | If you want to have only on language per table you can change iLangPerTable to 1 and manually move the "_1" and "_2" fields to a "_set1" table. But the method to get the multilang fields searches only in the main table for "_1" fields. Thus after removing the "_1" fields from the table, there are no more multilang fields found. This could be fixed by using the view wich contains all languages instead of the table. | ||||
Steps To Reproduce | In the oxconfig.inc.php add this line: $this->iLangPerTable = 1; Create the "_set1" and "_set2" tables and remove the original "_1" and "_2" fields. | ||||
Additional Information | Enterprise Edition /core/oxdbmetadatahandler.php, line 272 is currently: $aFields = $this->getFields( $sTableName ); should be: $aFields = $this->getFields( getViewName($sTableName, -1) ); | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0002718 | resolved | Linas Kukulskis | views for one language contain only fields from main table |