#67881CategoryRegistry is empty when TCA is read from cache
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”)