[TYPO3-dev] Deleting record several places?

Franz Holzinger franz at ttproducts.de
Mon Jan 5 19:35:51 CET 2009


Dmitry Dulepov a écrit :
> Franz Holzinger wrote:
>> Is this reference index needed, if you did never refer to a record from
>> this table? Isn't there any tool which can repair it?
> 
> AtoQ1: you never know. what if someone extends your table and makes a reference?

If a table does not support the reference index and someone extends it, 
then the latter is responsible to write the code necessary for it.

> AtoQ2: Imagine that you break the door to your house instead of using the key just because you know you can repair that door. Does it sound logical or even possible? TYPO3 has tools to rebuild reference index but it means reading every record in the database and may take hours. Why break something if you can avoid it by using the API?

I do not know why this reference index is so important. If it is 
important, then it should be supported. If it is not needed in most 
cases, then I see it not justified to compare it with a door into a 
house. You could repair it over a cronjob once a month.

- Franz




More information about the TYPO3-dev mailing list