- Issue created by @renukakulkarni
- 🇬🇧United Kingdom d.fisher
Have managed to reproduce this. The field storage is left orphaned. However would that not be the desired behavior if the field has been used on another media type? I created a new media type called "another_link" and then uninstalled the module. My new media type "another_link" was removed when the module was uninstalled which I'd argue is perhaps not desirable.
My question is what do we expect to happen when the module is uninstalled?
- Any media type using the field.storage.media.field_media_entity_link should be deleted along with the field storage?
- A check should be performed to see if any other media types are using the field storage and if so do not delete the field storage or any media types that are using it except for the one provided by the media_entity_link module?
I'm going to set this as maintainer needs more info until we can reach a consensus on what the correct behavior should be!