[TYPO3-mvc] Setting an Object/Relation via Select, doesn't work
Thomas Waggershauser
waggershauser at airware.de
Thu Jul 23 13:22:09 CEST 2009
Hi,
I did some testing with the blog_example and wasn't able to assign a
fe_user to a blog, or a person to a post:
Catchable fatal error: Argument 1 passed to
Tx_BlogExample_Domain_Model_Post::setAuthor() must be an instance of
Tx_BlogExample_Domain_Model_Person, string given in /Applications/
XAMPP/xamppfiles/htdocs/dummy-4.3alpha/typo3conf/ext/blog_example/
Classes/Domain/Model/Post.php on line 213
Ok, the string is the uid of the object. I think the object should be
build automatically by the framework..
Greetings,
Thomas
---------
Thomas Waggershauser
http://www.airware.de
More information about the TYPO3-project-typo3v4mvc
mailing list