Bug #16073
closedCannot delete language version of a page
0%
Description
Setup with 5 languages (default/german, english, france, spain, italy) and create a page with alternate language.
After i have tried to delete one language version of a page, the alternate language page still exists. Only the alternate page title have been deleted. After that i cannot modify the alternate page header ("...missing rights..."). In the context menu of the alternate language version there is only the entry "versioning".
Look at the screenshots
(issue imported from #M3308)
Files
Updated by old_netcont over 18 years ago
There is a bug in typo3/sysext/cms/layout/db_layout.php Line-> 1220.
To resolve this problem you can change mysql-query in function exec_languageQuery, Line 1220 with query:
return $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'sys_language.*',
'pages_language_overlay,sys_language',
'pages_language_overlay.deleted=0 AND pages_language_overlay.sys_language_uid=sys_language.uid AND pages_language_overlay.pid='.intval($id).$exQ,
'pages_language_overlay.sys_language_uid,sys_language.uid,sys_language.pid,sys_language.tstamp,sys_language.hidden,sys_language.title,sys_language.static_lang_isocode,sys_language.flag',
'sys_language.title'
);
Updated by Michael Stucki almost 11 years ago
- Category changed from Miscellaneous to Workspaces
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces
- Target version deleted (
0)