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 #1

Updated by Gerrit Code Review over 9 years ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Gerrit Code Review over 9 years ago

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

Actions #3

Updated by Gerrit Code Review over 9 years ago

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

Actions #4

Updated by Gerrit Code Review over 9 years ago

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

Actions #5

Updated by Gerrit Code Review about 9 years ago

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

Actions #6

Updated by Markus Sommer about 9 years ago

  • Description updated (diff)
  • Assignee set to Alexander Stehlik
Actions #7

Updated by Gerrit Code Review about 9 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43070

Actions #8

Updated by Alexander Stehlik about 9 years ago

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

Updated by Gerrit Code Review about 9 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43070

Actions #10

Updated by Gerrit Code Review about 9 years ago

Patch set 3 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43070

Actions #11

Updated by Alexander Stehlik about 9 years ago

  • Status changed from Under Review to Resolved
Actions #12

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF