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