View Issue Details

IDProjectCategoryView StatusLast Update
0002715OXID eShop (all versions)4.06. Language and translationspublic2011-04-09 15:24
ReporterHelmut L. 
Status resolvedResolutionfixed 
Product Version4.5.0_beta4 
Target VersionFixed in Version4.5.0 revision 34568 
Summary0002715: sql for dublicating multilang fields generates fields always in the original table
DescriptionIn oxDbMetaDataHandler, the _getDublicatedFieldSql and _getDublicatedFieldIndexesSql methods get only one table name as parameter, which is used as table name for the old field name and the new field name. But when iLangPerTable is reached, the old field name and the new field name are in different tables.

These methods should get an additional parameter with the name of the new table.
Additional InformationEnterprise Edition
line 149, line 166 for _getDublicatedFieldSql
line 185, line 212 for _getDublicatedFieldIndexesSql
TagsNo tags attached.
PHP Versionany
Database Versionany


related to 0002471 resolvedalfonsas_cirtautas Not possible to create more than 8 languages 



2011-04-07 16:08

reporter   ~0004331

also there is a typo in method name: it's duplicate not dublicate.


2011-04-09 15:24

reporter   ~0004350

Methods refactored not use
_getCreateTableSetSql( $sTable, $iLang)
_getAddFieldSql( $sTable, $sField, $iLang )
_getAddFieldIndexSql( $sTable, $sField, $iLang )