[TYPO3-mvc] Problem after Upgrading to 1.1 / 1:M relation
Michael Feinbier
mf at hdnet.de
Wed Apr 14 14:05:25 CEST 2010
Hi Everybody,
I just updated an Extension based on extbase 1.0.2 to the current 1.1 beta.
But now the 1:m relation I defined in the models stoped working.
The Error-Message is:
> #1247602160: Table 'tx_extbase_persistence_objectstorage' doesn't exist
caused by
> 33 Tx_Extbase_Persistence_Mapper_DataMapper::fetchRelated(Tx_WelleTables_Domain_Model_Programm, "milieus", "6", boolean, boolean)
So I think the Error seems to be in the 'milieus' property of my
Tx_WelleTables_Domain_Model_Programm model
which looks like this
> class Tx_WelleTables_Domain_Model_Programm extends Tx_Extbase_DomainObject_AbstractEntity {
> ...
> /**
> * Related Milieus
> *
> * @var Tx_Extbase_Persistence_ObjectStorage<Tx_WelleTables_Domain_Model_Milieu>
> * @lazy
> * @cascade remove
> */
> protected $milieus;
> ...
>
> /**
> * @return Tx_Extbase_Persistence_ObjectStorage
> */
> public function getMilieus() {
> return $this->milieus;
> }
> ...
> }
I have no idea what I did wrong in comparison to the blog_example. :(
Any ideas?
Thanks!
Micha
More information about the TYPO3-project-typo3v4mvc
mailing list