[TYPO3-50-general] Relations of created sub-properties

Helmut Hummel helmut.hummel at typo3.org
Mon Nov 14 18:48:53 CET 2011


Hi,

Helmut Hummel wrote:

> I attached the code I have. What am I missing?

Of course I can add

foreach ($newConcert->getArtists() as $artist) {
   $artist->setConcert($newConcert);
}

to the createAction. But it seems a bit odd to me that this is necessary.

Kind regards,
Helmut

-- 
Helmut Hummel
TYPO3 Security Team Leader, TYPO3 v4 Core Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-5_0-general mailing list