[TYPO3-dev] mm relations remain on delete of records
Peter Kuehn [wmdb]
peter.kuehn at wmdb.de
Fri Jan 16 13:45:49 CET 2009
Hi Masi,
I see and agree with your point.
Background of my question: im still trying to solve the flexible content
element <=> mm-relation issue (they simply dont work as mentioned in the
core documentation, thus Templavoila can´t use DAM...).
If you remove an entry from a FCE (which is: deleting a part of the
resulting xml - not the whole record) and add a new one later on, the
new one may allocate the same place in the resulting xml.
the new element will then point to the not deleted mm-relation(s) of the
elder one - as a surprise for the editor.
flexforms - seems they have one´s own life ;)
gRTz
pekue
Martin Kutschker schrieb:
> Peter Kuehn [wmdb] schrieb:
>> Hi folks,
>>
>> I searched the bugtracker but couldnt find this (ok - "mm" is a real
>> useless keyword for searching ;) ):
>>
>> In t3lib_TCEmain->deleteRecord_procBasedOnFieldType() (line 4252 ff.)
>> mm-relations of the record to be deleted are recognized but obviously
>> not deleted - just the RefIndex is updated after deleting the record.
>>
>> According to a comment on line 4274 it seems, that this was somehow
>> intended.
>>
>> Do (useless) records remain in mm-tables or are they deleted somewhere
>> else in the core?
>> is this already known? bug or feature?
>
> If you resurrect the records, the relation will be restored. If you
> delete them physically you won't get them back.
>
> Masi
More information about the TYPO3-dev
mailing list