Project

General

Profile

Actions

Bug #16454

closed

Deleted language overlay records still visible

Added by old_dpool over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2006-08-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #16073: Cannot delete language version of a pageClosedMichael Stucki2006-04-20

Actions
Actions #1

Updated by old_dpool over 17 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,

Actions #2

Updated by Michael Stucki over 17 years ago

This problem has been fixed in 4.0.1 already :-)

Actions

Also available in: Atom PDF