Project

General

Profile

Actions

Bug #54041

closed

menu_type.addItems not working in 6.2

Added by Heiko Kromm almost 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend API
Target version:
Start date:
2013-11-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If I add a new menu_type to tt_content in pageTS with:

TCEFORM.tt_content {
    menu_type.addItems.101 = New Sitemap Type
}

I will get this error-message in the backened if I select the added menu type:

An error occurred trying to process items for field "Category field" (The given menu_type is not supported.).

I think this results from the missing subtypes_excludelist entry for my id 101 in the tca of tt_content.

How can I set this value?


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #54611: Use speaking name for new menu typesClosedFrancois Suter2013-12-27

Actions
Actions #1

Updated by Christian von Holten almost 11 years ago

I have got the same issue with 6.2. I tried to solve this by adding

$GLOBALS['TCA']['tt_content']['types']['menu']['subtypes_excludelist']['102'] = 'selected_categories, category_field';

to extTables.php, but this does not solve it.

Actions #2

Updated by Simon Würstle almost 11 years ago

I get the exact error message in list view whenever a tt_content record is on the selected page. I've never added a new menu_type in tsconfig. In the database all tt_content records have the value "0" for the field menu_type.

TYPO3 6.2beta5
PHP 5.4

Actions #3

Updated by Ernesto Baschny almost 11 years ago

  • Category set to Backend API
  • Target version set to 6.2.0

Maybe this is related to the change between beta4 and beta5: #54611?

The menu_type "9" was renamed to "categorized_pages".

Actions #4

Updated by Francois Suter almost 11 years ago

  • Status changed from New to Accepted
  • Assignee set to Francois Suter

It's not related to the renaming of menu_type 9, since the reports date back to before the change. I can see the origin of the problem and will investigate.

Simon, I can't reproduce your error. You say you didn't define new menu types, but do you maybe have an installed extension which does?

Actions #5

Updated by Gerrit Code Review almost 11 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27591

Actions #6

Updated by Simon Würstle over 10 years ago

Sorry for the late feedback. You were right, the error on my installation is caused by the extension gridelements.

Actions #7

Updated by Francois Suter over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF