View Issue Details

IDProjectCategoryView StatusLast Update
0002715OXID eShop (all versions)4.06. Language and translationspublic2011-04-09 15:24
ReporterHelmut L. Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0_beta4 
Fixed 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
/core/oxdbmetadatahandler.php
line 149, line 166 for _getDublicatedFieldSql
line 185, line 212 for _getDublicatedFieldIndexesSql
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Relationships

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

Activities

csimon

2011-04-07 16:08

reporter   ~0004331

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

alfonsas_cirtautas

2011-04-09 15:24

reporter   ~0004350

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