[TYPO3-english] Extbase - All properties except UID are null

Alexander Dorn debao84 at googlemail.com
Thu Feb 20 12:17:59 CET 2014


I forgot to mention that clearing the cache solves the problem but some actions are non-cachable (e.g. search). But the error occurs there as well.

Regards Alexander
Am 20.02.2014 um 11:53 schrieb Alexander Dorn <debao84 at googlemail.com>:

> Hello,
> 
> I am developing an extbase extension with TYPO3 6.1.
> 
> Sometimes - I can not reproduce the error - all properties of the domain objects are set to null when fetched from the repository. 
> 
> The query is executed correctly because I get the resultset that i expect - only the values are missing.
> google found just one related thread: http://stackoverflow.com/questions/17803694/when-fetching-a-model-all-properties-are-null-except-for-uid
> But in my case the bug occurs rarely.
> 
> Normally an object looks like this.
> 
> uid:  			1
> title: 			Some title 
> description: 	A longer text that describes the Object
> image:		path/to/image
> ...
> 
> When the bug occurs it looks like this:
> 
> uid:			1
> title: 			null
> description:	null
> image: 		null
> ...
> 
> The model contains about 15 properties and in 99% data is fetched correctly.  But the one percent is driving me nuts as I don't have a clue where to start research.
> 
> I assume that the property mapper is not able to map the properties correctly.
> 
> Any help is appreciated.
> 
> Thank you 
> Regards Alexander
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list