Project

General

Profile

Actions

Bug #61923

open

Localization of elements and their categories in the backend

Added by Kurt Gusbeth over 9 years ago. Updated about 6 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Categorization API
Target version:
-
Start date:
2014-09-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

Description

I am using makeCategorizable like this in my extension:

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
    $_EXTKEY,
    'tx_ext_domain_model_content',
    $fieldName = 'categories',
    $options = array()
);

and:
CREATE TABLE tx_ext_domain_model_content (
    ...
    categories int(11) DEFAULT '0' NOT NULL,
    ...
);

The problem: the relations between sys_category and tx_ext_domain_model_content in sys_category_record_mm are not correct for translated elements when saving a translated element of the extension.
When I save a translated element (sys_language_uid=1), than Typo3 uses the UID of the original categories (sys_language_uid=0) for the relations in sys_category_record_mm.
Thats wrong. Typo3 should use the UID of the translated categories.
This happens only when saving a translated element.
Typo3 uses the tranalated UIDs of categories after the localization of categories or elements.
Conclusion: the main problem is that Typo3 shows only the original categories (sys_language_uid=0) even for translated elements and thats why Typo3 saves the wrong UID of the categories in sys_category_record_mm.
Is there any way to show the translated categories for translated elements?


Related issues 4 (2 open2 closed)

Related to TYPO3 Core - Feature #66155: Backend display of localized recordsNew2015-03-30

Actions
Related to TYPO3 Core - Bug #70460: Categories for translated pages/categories get lostNew2015-10-07

Actions
Related to TYPO3 Core - Bug #68177: Wrong Categories on pages with pages_language_overlayClosed2015-07-15

Actions
Related to TYPO3 Core - Bug #76629: Assigning translated categories doesn't workClosed2016-06-14

Actions
Actions #1

Updated by Kurt Gusbeth over 9 years ago

You will find a description with an image in my documentation:
http://docs.typo3.org/typo3cms/extensions/camaliga/Administration/Categories/Index.html

Actions #2

Updated by Susanne Moog over 6 years ago

  • Sprint Focus set to On Location Sprint
Actions #3

Updated by Oliver Hader over 6 years ago

  • Status changed from New to Accepted
Actions #4

Updated by Mathias Brodala about 6 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions

Also available in: Atom PDF