Issue Bug Closed

#72116Files without references still show a warning before deleting

Lorenz Ulrich 12/09/15, 09:48 updated 03/08/16, 18:02

Description

I have some files in the File module that have no references with is correctly shown in the list:

file-reference-1.png

When I look at the detail view of the file, I see a reference nevertheless – the reference from the sys_file_metadata record to this file:

file-reference-2.png

Now when I’m trying to delete this file, which is never used in content, I still get the warning that there is one reference:

file-reference-3.png

I assume that the problem is that the JavaScript dialog is based on the total number of references without considering that every file has a sys_file_metadata record.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.