Issue Bug Closed

#67881CategoryRegistry is empty when TCA is read from cache

Alexander Stehlik 07/02/15, 09:59 updated 10/02/18, 11:35

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”)

Reviews 2