Bug #16454
closedDeleted language overlay records still visible
0%
Description
After a page language overlay record is deleted either via the Web->List Module or via the delete function in the editing form it stays operative in the Web->Page module. In detail:
A. The module still displays the columns for the respective language overlay
B. It is not possible to create a new translation for the language
C. Editing functions for the deleted record are still there. If clicked on, however, and Error message is displayed "Sorry, you didn't have proper permissions to perform this change."
Luckily, help is at hand. Just insert a deleted=0 into the respective query.
typo3/sysext/cms/layout/db_layout.php:LINE 1223
OLD
'pages_language_overlay.sys_language_uid=sys_language.uid AND pages_language_overlay.pid='.intval($id).$exQ,
NEW
'pages_language_overlay.sys_language_uid=sys_language.uid AND sys_language.deleted=0 AND pages_language_overlay.pid='.intval($id).$exQ,
(issue imported from #M4012)
Updated by old_dpool over 18 years ago
Sorry. New line must be as follows, of course:
'pages_language_overlay.sys_language_uid=sys_language.uid AND pages_language_overlay.deleted=0 AND pages_language_overlay.pid='.intval($id).$exQ,
Updated by Michael Stucki over 18 years ago
This problem has been fixed in 4.0.1 already :-)