Bug #44915

Translated category records visible in parent category tree

Added by Tobias Klepp over 8 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2013-01-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

I can see the translated category records in the parent category tree. It makes no sense to select a translated category as a parent category. Only the default language records should be displayed.

For my understanding, the WHERE clause must be changed to the following code at line 126 in t3lib/stddb/tca_sys_category.php:

'foreign_table_where' => ' AND sys_category.sys_language_uid IN (-1,0) ORDER BY sys_category.title ASC',


Related issues

Related to TYPO3 Core - Bug #49731: tree-element: translated element should not allow selecting itself as a parentClosed2013-07-06

Actions
#1

Updated by Thomas Löffler over 8 years ago

Would it make sense to set a parent category for a translated category?
I think, the e.g. german category tree must be the same as the default english category!

I would set a condition to the parent category to sys_language_uid = 0.

#2

Updated by Georg Ringer over 8 years ago

  • Status changed from New to Accepted

someone wanna push a change to gerrit?

#3

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21626

#4

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21626

#5

Updated by Gerrit Code Review almost 8 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21626

#6

Updated by Gerrit Code Review almost 8 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21626

#7

Updated by Gerrit Code Review almost 8 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21626

#8

Updated by Gerrit Code Review almost 8 years ago

Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/22010

#9

Updated by Gerrit Code Review almost 8 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/22011

#10

Updated by Markus Klein almost 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#11

Updated by Riccardo De Contardi over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF