[TYPO3-mvc] Updating property failed if not empty
J. Weber
newsletter at jewe.net
Wed Aug 24 16:33:34 CEST 2011
Hi,
within an controller i have this code in an update-method:
$this->articleRepository->update($article);
$pM = t3lib_div::makeInstance('Tx_Extbase_Persistence_Manager');
$pM->persistAll();
all article-properties are correct updated except the "articletype"-object.
Within the controller articletype seems updated, but the field in the
database is not changed.
$article->getArticletype()." - ".$this->articleRepository->findByUid( $article->getUid() )->getArticletype()
| 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...
Regards,
Jens
More information about the TYPO3-project-typo3v4mvc
mailing list