Project

General

Profile

Actions

Bug #22800

closed

Missing language_ids in menu-links (TMENU)

Added by Mark Iron over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Communication
Target version:
-
Start date:
2010-06-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I am missing language_id in menu-links (TMENU) when using typo3 4.4 beta3 - the same setup works for typo3 4.3.3 ..

http://paste.phlogi.net/lang_definition2-1/
  1. cat lang-definition2.txt (see below)
my own language-menu has the correct language_id links ..
http://paste.phlogi.net/lang_switch_menu2-1/
  1. cat lang-switch-menu2.txt (see below)

I monitor the value of baseURL and language details in FE e.g.:
---
BaseURL: http://www.domain-xyz.org/
Language: ru
Language_id: 4
---

Tested with debian sqeeze / php 5.3 + source installation of typo3 4.4 beta3 and .deb OR/AND source installation of typo3 4.3.3

Please let me know in case you have more questions or just need more tests - thank you very much in advance for your kindly help.

regards
Mark :)

(issue imported from #M14607)


Files

lang_def+switchmenu-configS.txt (5.1 KB) lang_def+switchmenu-configS.txt Administrator Admin, 2010-06-03 15:09
diff_output_class.tslib_menu.php (3.59 KB) diff_output_class.tslib_menu.php Administrator Admin, 2010-06-03 21:05
Actions #1

Updated by Mark Iron over 14 years ago

The code of class.tslib_menu.php has been changed in version 4.4 beta3 (compare to 4.3.3)
//Add versioning overlay for current page (to respect workspaces

see the output of diff (attached file)

Actions #2

Updated by Chris topher over 14 years ago

I just shortened your report a bit to give people the possibility to understand more quickly, what is wrong.

Actions #3

Updated by Mark Iron over 14 years ago

I have tested it also with the last svn-trunk of typo3 4.4. There were still NO language_ids in Menu-links (TMENU).

After moving the definition of default language from the Constants- to the Setup-part of the root-template I have got the missing language_ids in Menu-links.
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/staticTS/language_defaults.txt">

It looks like the definition of the default language HAVE to be defined or included in the Setup-area of the root-template.

The ticket can be closed so far.

Mark

Actions #4

Updated by Chris topher over 14 years ago

Thanks for keeping us updated.

Resolved, configuration issue; no change required.

Actions

Also available in: Atom PDF