#15112Tools->DB check improvements
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.