Bug #20783
closedDeleted languages are selectable for contentelements
0%
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)
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.
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.
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?
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.
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.
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)?
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.