Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293784

File usage is incorrect

$
0
0

The view /admin/content/files shows me an incorrect file usage. These files are not in the file_usage table in the database and so the files could be deleted, but the file status is also set to 1.

- Drupal core 8.3.3
- admin/config/media/file-system -> temporary files delete: after 6 hours.

How is this possible? The image in the example (cow-animals-37411834-1440-900.jpg) was uploaded via files entity browser and was saved as an media entity image. After that, the media entity image was deleted (yesterday) but today the result is wrong as you can see in the screenshots.

What's the problem? Cache was refreshed multiple times and cron runs correct.

file_overview.png
---
file_usage.png
---
file_usage_db.png
---
file_managed_db.png


Viewing all articles
Browse latest Browse all 293784

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>