[TYPO3-mvc] Updating property failed if not empty

Marc Bastian Heinrichs typo3 at mbh-web.de
Wed Aug 24 16:46:44 CEST 2011


Hey,

>      $pM = t3lib_div::makeInstance('Tx_Extbase_Persistence_Manager');
>      $pM->persistAll();

This is handled extbase internal, so remove it.

> ".$this->articleRepository->findByUid(
> $article->getUid() )->getArticletype()

You get NO new article object (fresh from the database) here, because
it's cached in the identityMapper. So it is your $article Object

> |	Tx_Wpj_Domain_Model_articletype:100 - Tx_Wpj_Domain_Model_articletype:100|
> 
> 
> No errors in the log. This is so strange, i can't believe it...

is your TCA config correct?

Best
Marc Bastian


More information about the TYPO3-project-typo3v4mvc mailing list