Project

General

Profile

Actions

Bug #67881

closed

CategoryRegistry is empty when TCA is read from cache

Added by Alexander Stehlik over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Categorization API
Target version:
-
Start date:
2015-07-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

The CategoryRegistry is filled during the initial build of the TCA.

When the TCA is read from the cache the CategoryRegistry will not be filled.

This is a problem because the itemsProcFunc of tt_content.category_field relies on the values stored in the category registry.

Steps to reproduce:

  • Create a content element with the CType "menu" and select one of the category menu types
  • The select field "Category field" does probably not contain any items.
  • Now clear the system cache
  • And reload the Frame displaying the Form
  • Now the value "Categories" should be selectable for "Category field" (the expected behavior)
  • Save the content element
  • Now the select field says "INVALID VALUE ("categories")

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #70034: Problem with makeCategorizable in TYPO3 6.2.15Closed2015-09-23

Actions
Actions

Also available in: Atom PDF