Project

General

Profile

Actions

Bug #101411

open

Message that there are references which point to this record is not always displayed when trying to delete a record

Added by Sybille Peters over 1 year ago. Updated 8 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2023-07-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
backend usability, references
Complexity:
Is Regression:
Sprint Focus:

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

generic delete message

delete message which mentions references

v13

v13 bulk removal in list module (references not mentioned)

Full report

see delete_record_with_references.txt


Files

delete_record_with_references.txt (2.02 KB) delete_record_with_references.txt report for v11 and v13 Sybille Peters, 2023-07-22 12:31
delete_record_with_references_generic_message.png (12.1 KB) delete_record_with_references_generic_message.png generic delete message Sybille Peters, 2023-07-22 12:33
delete_record_with_references_message_points_out_references.png (13.6 KB) delete_record_with_references_message_points_out_references.png delete message which mentions references Sybille Peters, 2023-07-22 12:34
v13_delete_record_with_references_in_list_module_bulk_removal_no_mention_of_references.png (12.9 KB) v13_delete_record_with_references_in_list_module_bulk_removal_no_mention_of_references.png v13 bulk removal in list module (references not mentioned) Sybille Peters, 2023-07-22 12:38

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Task #94780: Show title/uid when on delete confirmation modal in layout viewUnder Review2021-08-10

Actions
Related to TYPO3 Core - Bug #101414: Alert dialog does not show information about references inline delete button in page module is used (v11)Closed2023-07-22

Actions
Actions

Also available in: Atom PDF