Issue Bug Closed

#77902Translating category causes creation of non-necessary relations

David Lemaitre 09/09/16, 19:15 updated 10/07/21, 07:14

Description

For a multilingual website, translating a category causes creation of non-necessary records in the sys_category_record_mm table.

Scenario :

- Assign a category to a file metadata without translation
- Translate this category

=> A new record is created in the sys_category_record_mm table for the relation between the file metadata ID & the translated record ID.

This is causing trouble with solr extension which find 2 relations for categories instead of just one when solr is indexing files.

Note : If I edit the file metadata & save without making changes, the 2nd relation in the sys_category_record_mm table is removed !

Using:
TYPO3 6.2.26
PHP 5.4

Reviews 1