Issue Bug Closed

#17873Broken page localization on PostgreSQL

Martin Kutschker 11/30/07, 23:15 updated 09/09/13, 08:43

Description

You cannot switch the language (no drop down visible) in Web>page even if an alt. lang. page record exists. Also the option to create a new version of hthe page is always shown.

typo3/sysext/cms/layout/db_layout.php:

exec_languageQuery($id) fails when the id is set, because the executed query has for reasons I do not understand a weird field list as grouping values. The system works well if I simply use a blank string (ie no grouping).

I think the grouping MAY be a safeguard when accidentally more than one alt. lang. pages for a specific language exists. I tried this scenario but it went well without problems. To be sure I added a DISTINCT to the SELECT clause.
(issue imported from #M6871)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.