Uninstalled extension Core, reinstalled all my previous rules/data elements broke

Avatar

Avatar

alexs14852532

Avatar

alexs14852532

alexs14852532

17-04-2018

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.

Cheers for any further information/help on this.

View Entire Topic

Avatar

Avatar

joshd7227840

MVP

Avatar

joshd7227840

MVP

joshd7227840
MVP

18-04-2018

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.

My 2 cents, anyways.

.josh