View Issue Details

IDProjectCategoryView StatusLast Update
0002692OXID eShop (all versions)4.06. Language and translationspublic2011-08-16 15:43
ReporterHelmut L. Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0_beta4 
Fixed in Version4.5.2 revision 38481 
Summary0002692: When there is only one langauge per table, multilanguage fields can not be recognized
DescriptionIf 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 ReproduceIn 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 InformationEnterprise Edition
/core/oxdbmetadatahandler.php, line 272

is currently:
$aFields = $this->getFields( $sTableName );

should be:
$aFields = $this->getFields( getViewName($sTableName, -1) );
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0002718 resolvedLinas Kukulskis views for one language contain only fields from main table 

Activities

birute_meilutyte

2011-05-06 10:44

reporter   ~0004494

@developers: check from source code side if such issue still exist and if offered solution is correct

Linas Kukulskis

2011-08-16 15:43

reporter   ~0005025

at least 2 languages per table must be save.

added check for this statement updated documentation.