[TYPO3-mvc] Could not serialize Domain Object

Claus Fassing claus at fassing.eu
Thu Sep 30 19:01:17 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I try to pass an object with form arguments.

$this->view->assign('newPerson', $newPerson);
Object is not NULL !

The Form include
arguments="{newPerson : newPerson}"

and the target action got the related @param annotation and the object
as argument.

The person object extend Tx_Extbase_DomainObject_AbstractEntity but the
exception return

"It is neither an Entity with identity properties set, nor a Value Object."

There are the following annotations on the person object.
@scope prototype
@entity

Is there an interface like serializable needed to implement or anything
else to get this work ?

Greetings Claus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMpMJcAAoJELsIv+audObf5LwIAKy8RadudvuLXCq2FTm4+Yue
aIknIs4ykXOOCMU9vtPKMspe7XsI2b3uFghvkhAwBXGI8ih+dU6xjCL5V3UIUWLp
pW+PHhNgYd+1RY6Cg8jzZQbtGXx4ZnZXhRb3ool2eedQlqgG8Y9LZSKU94k6n893
J2dJSKBVz2CuC6mPBdKCM5NE61pKGvT/cSPRvm+HYHm2Zvh/u7V9oceML+q4J2Kj
xbVmmBSk3eOlWPhFir/1Nt1RuRjyjMlOdDWj6P2yfzAMqoC7HXxjJtKKqCYXbQpW
2CTK+bGQKD9bkZFKvIiBWdPhR0r9vp7fE1erfU++/djyYNpG4g326aZs/dfmPwM=
=/fD1
-----END PGP SIGNATURE-----


More information about the TYPO3-project-typo3v4mvc mailing list