agence-adeliom / easy-media-bundle

A Symfony Media manager bundle for EasyAdmin
MIT License
27 stars 17 forks source link

Media Manager not working when folder has been deleted #4

Closed jdadeliom closed 2 years ago

jdadeliom commented 2 years ago

When I go to a folder, his folderId is stored inside localStorage. It is used then to access the same folder when opening the media library. But if I delete the folder, the folderId may still be inside the localStorage. The bundle should check if the doesn't exist then it should load the root of the media library, cause as of today it prevent to do anything.

media-library-error

arnaud-ritti commented 2 years ago

This issue is not handled.

New behavior : when the folder not exist, it goes to the parents while folder does not exist.