Flowpack / media-ui

The development repository for the new Neos media management interface
GNU General Public License v3.0
21 stars 16 forks source link

BUG: Error by trying to delete assets which are still in use in the media browser #238

Open GuangHa opened 2 months ago

GuangHa commented 2 months ago

Is there an existing issue for this?

Current Behavior

When you try to delete an asset which is still in use, you will get an internal error (500).

image

Expected Behavior

Another message, saying the asset is still in use and therefore unable to delete or maybe disable the delete function.

Steps To Reproduce

  1. Open media browser via Property-Editor
  2. Try to delete an asset in use
  3. Get Error

Environment

- Flow: 8.3.9
- Neos: 8.3.15
- PHP: 8.1.2

Anything else?

It is now fixed in the Neos internal library, but occurs in the media ui package. See https://github.com/neos/neos-development-collection/issues/5085

Sebobo commented 2 months ago

Can you check the exception that is created in this case and paste its content? The problem might be unrelated to this package actually.

You should actually get the following error: CleanShot 2024-08-13 at 17 46 54