View Issue Details

IDProjectCategoryView StatusLast Update
0002733OXID eShop (all versions)4.06. Language and translationspublic2011-05-20 14:43
ReporterHelmut L. Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.0_beta4 
Fixed in Version4.5.0 revision 34568 
Summary0002733: after copying an article to a language not in the main table the language is not shown as set up
DescriptionThe languages shown in the selects for the inserted languages and the copy to languages are determined by checking which language fields have a value. But when fetching the fields the main table is used and thus the language fields in the additional tables are never checked.

Here the fields should instead be fetched from the view for all languages.
Additional InformationEnterprise Edition
/core/oxi18n.php, line 559

is currently:
return parent::_getAllFields($blReturnSimple);

should be:
return $this->_getTableFields(getViewName($this->_sCoreTable, -1, -1), $blReturnSimple);
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

Helmut L.

2011-04-11 17:01

reporter   ~0004356

The fields from this method are also used by _getFieldStatus, to determine if a field is a multilanguage field.
If you have only one language per table and thus have the _1 fields in a separate table, this method does also not work.
The above mentioned fix would also fix this problem.