Project

General

Profile

Actions

Bug #20783

closed

Deleted languages are selectable for contentelements

Added by Gregor Sievert over 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-07-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When I addlanguage to a page and than delete it, I still can choose the deleted language for my contentelement.

(issue imported from #M11584)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #16272: Hidden Record "Website Language" is selectable in (new) Record "Alternative Page Language"Closed2006-06-23

Actions
Related to TYPO3 Core - Bug #15355: Deleted language version of a page but content still shown in page modulClosedMichael Stucki2006-01-03

Actions
Actions #1

Updated by Christian Kuhn over 15 years ago

The language drop-down in the content element always shows all languages enabled for a site.
No matter if a page overlay for a language exists or not.

Actions #2

Updated by Gregor Sievert over 15 years ago

But in the case I descripted only languages with a page overlay are displayed. After I delete the page overlay by hand out of the database they are gone.

Actions #3

Updated by Christian Kuhn over 15 years ago

Hey Gregor,

I'm still not sure if this is an error. Would you please describe exact steps on how to reproduce? Which forms do show what under which circumstances?

Actions #4

Updated by Gregor Sievert over 15 years ago

1. I use the List-Modul to add some languages into the top worldbubble.
2. I use the List-Modul to add an Alternative Page Language
3. Now I can choose the language i created in step 2 for a contentelement on that same site on 2 places: - directly underneath the save buttons and below the Type. Both have deleted and not deleted languages for selection.
4. After i delete languages in "pages_language_overlay" with the pid of that site and with deleted = 1 set, than they are not shown in step 3

And i guess it doesn't make any sense to able to chose deleted languages.
I hope this explanation is understandable.

Actions #5

Updated by Kasper Ligaard over 14 years ago

This is a long-standing issue, see also issues #15355 and #15355. This is not a bug per se, but rather an implementation that needs to be completed.

It is not clear what should happen, when an alternative page language (APL) is DELETED. For instance: Should all translated elements be deleted too? (if yes, the a warning confirmation box about the extent of what is about to happen should probably be issued).

When an APL is HIDDEN, it is not as critical. Maybe elements on the page, which are translations using the hidden APL should be shown with som kind of annotation on their icon, to signify that their APL is hidden..?

Other related issues are #15355 and #15355: Both of these make what seems to be a hack to exclude APL from being shown, but does not address the fundamental problem, namely that several translated elements might have become 'orphans'.

Generally, searching bugs.typo3.org for 'alternative page language' unravels many corner cases of handling languages: It is hard to do this right.

Actions #6

Updated by Alexander Opitz over 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #7

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

Actions

Also available in: Atom PDF