Bug #54041
closedmenu_type.addItems not working in 6.2
100%
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?
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.
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
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".
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?
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
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.
Updated by Francois Suter over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8dad992c4dee4c20356cb1a1ac8d0a8cc65adbc8.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed