View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002718||OXID eShop (all versions)||4.06. Language and translations||public||2011-04-08 08:34||2011-08-16 17:02|
|Target Version||Fixed in Version||4.5.2 revision 38481|
|Summary||0002718: views for one language contain only fields from main table|
|Description||If there are more than iLangPerTable languages, the additional languages are in a separate table. When the fields for the view of one language are fetched, only the fields of the main table are fetched. Thus the views for the additional languages do not contain the fields of that languages.|
To correct this the fields should not be fetched from the main table, but instead from the view with all languages.
|Additional Information||Enterprise Edition|
/core/oxdbmetadatahandler.php, line 294
$aFields = $this->getFields( $sTableName );
$aFields = $this->getFields( getViewName($sTableName, -1) );
|Tags||No tags attached.|
||@developers: check from source code side if such issue still exist|
at least 2 languages per table must be save.
added check for this statement updated documentation.
What exactly do you mean with "at least 2 languages per table must be save."?
And which version is meant with "Fixed in Version Patch"?
I've checked the file oxdbmetadatahandler.php in /svnpe/branches/features/PE/, /svnpe/tags/PE-4.5.1-38045/ and /svnpe/trunk/PE but non of them was recently edited.
because only way to know is it multi language field is the prefix "_X". at least 2 languages must be in table that these indexes will exist.
fixe made in oxfunction.php file in method getLangTableIdx