Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
GuangHa opened this issue Aug 13, 2024 · 1 comment
Open
1 task done
Labels
Question Further information is requested

Comments

@GuangHa
Copy link

GuangHa commented Aug 13, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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 neos/neos-development-collection#5085

@Sebobo
Copy link
Member

Sebobo commented Aug 13, 2024

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

@Sebobo Sebobo added the Question Further information is requested label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants