[TYPO3-mvc] Cloning Model and add to repository

Manfred Rutschmann manfred.rutschmann at revier.de
Fri Jun 11 15:52:16 CEST 2010


hi list:

$newlabel = clone $label
... make some manipulations on fields....
$this->labelRepository->add($newlabel);

gives this exception:

#1222871239: The uid "60" has been modified, that is simply too much. 

Uid 60 is the new object. the new object is store in the db but without any
propertys. huh?

Need more exception information?

Manfred


More information about the TYPO3-project-typo3v4mvc mailing list