When I click any of the rules or data elements that were using the Core extension now display :
Unable to display data element. The extension used by the data element was previously uninstalled.
I've installed the extension again - I can see its the same version: 1.0.2.
All my rules/elements have been affected. I assume this is a bug in the system? As they should just be using the same extension or, at the very least, I should be able edit them to re assign - otherwise this means any time I uninstall an extension all my work is lost?
Just noticed, the page is still pulling through the rules/data elements and firing the tags as usual.
A suggested alternative to giving the user a warning and then allowing a user to proceed to F themselves...
Do not give some warning about how it will brick everything, and then allow for a user to proceed to brick everything. Make it impossible to uninstall an extension that is used in any data element, rule, etc., period.
If a user attempts to uninstall an extension that is used anywhere, Give a message saying they cannot uninstall it because it is in use; they need to remove all references to it before uninstalling it. The message would then provide a list of all data elements, rules, etc. (with links to navigate to) for every single reference of it.
Then, when the user removes reference of it in all places, the user can uninstall the extension.