[TYPO3-mvc] Could not determine the child object type - Erst nach Cacheleeren weg

Daniel Schöne daniel at schoene.it
Thu Feb 2 09:54:34 CET 2012


the reflection cache does not respect the no_cache flag nor is it cleared via clear cache button in the BE (TYPO3 4.5). You have to clear it by hand (truncate tx_extbase_cache_reflaction* tables). For development it makes sense to set the reflection life time to a low value via TS (see the extbase_cache_configurator extension - again just for TYPO3 4.5).

On Feb 1, 2012, at 6:49 PM, Michael Bakonyi wrote:

> Am 06.06.11 13:26, schrieb Franz Koch:
> 
>> The reason why you got the error "could not determine child object type"
>> after adding a new property to your model is, that extbase is analyzing
>> you classes using a reflection service and caches the gathered
>> information for performance reasons. So it's obvious that the error
>> message was gone after you cleared the TYPO3 cache, which also clears
>> the object/reflection cache of Extbase and Extbase then analyzed your
>> changed model again.
>> 
>> So as rule of thumb: Clear the cache after you changed a model :)
>> 
> 
> I had the same problem over here but my dev-page is set to
> config.no_cache = 1. So isn't extbase respecting this parameter
> regarding the mentioned caching-process above?
> 
> Couln't find any information in the net or existing manuals ...
> 
> Cheers,
> Michael
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
> 

-- 
Daniel Schöne





More information about the TYPO3-project-typo3v4mvc mailing list