Project

General

Profile

Actions

Bug #44915

closed

Translated category records visible in parent category tree

Added by Tobias Klepp almost 12 years ago. Updated about 7 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Thomas Löffler almost 12 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.

Actions #2

Updated by Georg Ringer almost 12 years ago

  • Status changed from New to Accepted

someone wanna push a change to gerrit?

Actions #3

Updated by Gerrit Code Review over 11 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

Actions #4

Updated by Gerrit Code Review over 11 years ago

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

Actions #5

Updated by Gerrit Code Review over 11 years ago

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

Actions #6

Updated by Gerrit Code Review over 11 years ago

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

Actions #7

Updated by Gerrit Code Review over 11 years ago

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

Actions #8

Updated by Gerrit Code Review over 11 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

Actions #9

Updated by Gerrit Code Review over 11 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

Actions #10

Updated by Markus Klein over 11 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF