Caching datamaps within eID-requests results in incomplete cache entries
When a datamap cache entry is written while the TCA is not fully loaded (which is the case in eID-requests) incomplete cache entries are stored in the cache table cf_extbase_datamapfactory_datamap`. This breaks extbase functionality as within a normal request this datamap is restored and used.
Steps to reproduce:
Install this modified "News System"-extension (attached)
TRUNCATE TABLE cf_extbase_datamapfactory_datamap
have a look at the cache-entries in cf_extbase_datamapfactory_datamap. You can compare the results also on the attached screenshots.
Updated by Helmut Hummel almost 9 years ago
- Status changed from Under Review to Rejected
Interacting with core API in an early bootstrap stage needs good internal knowledge of the system.
Using Extbase in eID context is not recommended and happens at own risk. The core will not deal with that situation.
I recommend having a look at https://github.com/helhum/typoscript_rendering or similar approaches and using Extbase only in a context where the Bootstrap of TYPO3 is complete.