[TYPO3-dev] Extbase MM relation returns empty model

Tomiţă MILITARU tomita.militaru at gmail.com
Thu Jun 13 10:43:51 CEST 2013


Hello,

I have 2 models with a MM relation: Model1 and Model2
Model2 has a field overrideModel2 with type Model2 (1:1)
Model1 has a field properties with
type Tx_Extbase_Persistence_ObjectStorage<Model2>

In the following case:
Model1: M1
Model2: A,B,C,B
A has overrideModel2 set to B
M1 has properties A,B,C

When I want to M1.getProperties I get only A,C and an empty Model2.

TYPO3 4.5
Extbase 1.3.0


Any ideas why?

Thanks.



More information about the TYPO3-dev mailing list