[TYPO3-mvc] deleteAll : none of the foreign table rows are marked as deleted

Jochen Rau jochen.rau at typoplanet.de
Wed Jul 22 10:39:41 CEST 2009


Hi Matthias.

Mathias Schreiber [wmdb >] wrote:
> Jochen Rau schrieb:
>> In short: there is no general rule for deleting associated instances
>> other than deleting ValueObjects is always safe.
>
> In case of 1:1 and uni-directional 1:n it does know about this.
> Maybe this can be implemented this way with some sort of config-switch.

Nope. The given example illustrates a 1:n case as an Employee is 
normally assignet to only one Department.

I propose (at least for TYPO3 4.3) to let the extension developer 
implement this by hand as there is no common solution in FLOW3 either. 
In 4.4 we could introduce a configuration option.

Regards
Jochen


-- 
Every nit picked is a bug fixed



More information about the TYPO3-project-typo3v4mvc mailing list