[TYPO3-mvc] Changing adding/removing an object to an ObjectStorage removes all hidden records
Martin Kutschker
masi-no at spam-typo3.org
Fri Aug 13 12:46:48 CEST 2010
Am 13.08.2010 12:32, schrieb Steffen Ritter:
> Am 13.08.2010 11:03, schrieb Steffen Ritter:
>
>> I assume this is because on "retrieving object" they are not loaded, on
>> persistence they therefore are not in then object storage - for extbase
>> "anymore" --> the relation gets deleted.
>
> Update: Tx_Extbase_Persistence_Backend::persistObjectStorage() for mm-Relations works like
> $this->deleteAllRelationsFromRelationtable($parentObject, $propertyName);
>
> and afterwards adding all which are currently in the storage again.
>
> This is
> a, overhead
But it's simple.
> b, not correct
More information about the TYPO3-project-typo3v4mvc
mailing list