Feature #15112
open
Tools->DB check improvements
Added by Kirill Klimov about 19 years ago.
Updated over 1 year ago.
Category:
Backend User Interface
Description
Have 2 ideas for improving "Relations" part:
1. "Group fields" checks.
For now it looks like this:
---
There are 1 records pointing to this missing or deleted record; [tt_content]147
There are 18 records pointing to this missing or deleted record; [tt_content]148
There are 5 records pointing to this missing or deleted record; [tt_content]839
There are 1 records pointing to this missing or deleted record; [fe_groups]1
---
so it give information about missing records. Could be nice also to add information about record pointing to this missing record, because exactly this place should be fixed (if deletion was correct). For now, finding these records that point to deleted ones could be not obvious - so let's add that info.
2. "Files with no references at all (delete them!):" checks.
Suggest to change title at least, because for now this tool lists some files for deletion that should not be deleted !!!
I've found 2 situations when it is wrong:
2.1 It lists files that has reference from other file, but not from DB.
For example, in my html template I'm refer to image. This image would be listed in the list for deletion.
2.2 It lists files that has reference from templavoila flexible content element.
(issue imported from #M1675)
This is still relevant in TYPO3 4.0
With something like
There are 1 records pointing to this missing or deleted record; [fe_groups]1
it is really hard to guess where problem should be fixed...
- Status changed from New to Needs Feedback
- Target version deleted (
0)
- TYPO3 Version changed from 3.8.0 to 3.8
- PHP Version deleted (
4)
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?
Yes and no . . . There´s still no solution for deleting obsolete references ->
In 6.1.1¶
There are 30 records pointing to this missing or deleted record; [tt_content][16]
There are 2 records pointing to this missing or deleted record; [tt_content][20]
There are 1 records pointing to this missing or deleted record; [tt_content][40]
There are 20 records pointing to this missing or deleted record; [tt_content][53]
There are 1 records pointing to this missing or deleted record; [tt_content][56]
Cheers David
- Status changed from Needs Feedback to New
- Target version set to Candidate for Major Version
- Category set to Backend User Interface
The interface is still untouched on TYPO3 13.0.0-dev
DB Check > Database relations tells you about "X records pointing to this missing or deleted record" but not where these faulty relations are.
Also available in: Atom
PDF