Bug #101411
openMessage that there are references which point to this record is not always displayed when trying to delete a record
0%
Description
Usually, we get an alert, sometime like this:
Are you sure you want to delete the record 'textmedia1 [tt_content:54]'? There are 1 reference(s) to this record!
or
Are you sure you want to delete 'textmedia with shortcuts to this ce'? (There are 1 reference(s) to this record!)
when trying to delete a record (e.g. [textmedia]) which has references pointing to it (e.g. "Insert Records" [shortcut]").
But sometimes we get a generic message which does not point out there are references, such as:
Are you sure you want to delete this record?
It looks like the behaviour improved between v11 => v13 but is not fully resolved.
(language label: labels.referencesToRecord)
Problems / Inconsistencies¶
in v13
- list module: if using checkboxes to select several records then deleting, we get:
Delete marked
Are you sure you want to delete all marked records from the table 'Page Content'?
Close Delete
(no hint that there are references)
- (minor): in FormEngine the "Delete record" button does not have an "(!)", in the other cases it does
in v11 , sames as v13, but also
- in page layout: using inline delete button, we get generic message (not warning about references):
Delete this record?
Delete this record?
Cancel | OK
- some more minor inconsistencies in how the delete button is named etc.
Screenshots¶
v13
Full report¶
see delete_record_with_references.txt
Files
Updated by Sybille Peters over 1 year ago
- Related to Task #92670: Delete and paste dialogues don't include content element title added
Updated by Sybille Peters over 1 year ago
Some improvements were handled in https://review.typo3.org/c/Packages/TYPO3.CMS/+/72001
Updated by Sybille Peters over 1 year ago
- Related to Task #94780: Show title/uid when on delete confirmation modal in layout view added
Updated by Sybille Peters over 1 year ago
- Related to Bug #101414: Alert dialog does not show information about references inline delete button in page module is used (v11) added
Updated by Sybille Peters about 1 year ago
- Related to deleted (Task #92670: Delete and paste dialogues don't include content element title)
Updated by Sybille Peters 8 months ago
- Tags set to backend usability, references