?
avatar coolcat-creations
coolcat-creations
24 Jun 2017

If you uninstall a field, the field values remain in the database. This is good if you have issues with the field and try to uninstall and reinstall, but shouldn´t there be any option to delete field-data that is not used anymore?

avatar coolcat-creations coolcat-creations - open - 24 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jun 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Jun 2017
Category com_fields
avatar dgt41
dgt41 - comment - 24 Jun 2017

@coolcat-creations I think you an use the postflight script and remove the data manually

avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Jun 2017
Status New Discussion
avatar coolcat-creations
coolcat-creations - comment - 24 Jun 2017

So it´s the developers responsibility, right?

avatar Bakual
Bakual - comment - 24 Jun 2017

I think the next time you save the item that data was associated with, the values would be deleted.
The values will not show up anywhere, right? It's just the orphaned data that bugs you?
Imho it's not a big issue beside that it is filling the database a bit.

avatar coolcat-creations
coolcat-creations - comment - 24 Jun 2017

It's just the orphaned data that bugs you?

Yes, i think thats not "clean" - is it?

avatar Bakual
Bakual - comment - 24 Jun 2017

I think it would be great if the field is somehow marked in the fields manager as unavailable because the plugin is either unpublished or uninstalled. But I wouldn't delete it automatically.

If the orphaned field is deleted manually, the assigned values will be deleted as well.

avatar laoneo
laoneo - comment - 26 Jun 2017

I think it is the responsibility of com_fields to manage that situation properly. At minimum I would expect a warning message that there are still fields of that plugin which got unpublished or uninstalled.

avatar brianteeman
brianteeman - comment - 5 Oct 2017

@laoneo I disagree - we are talking about 3pd plugins here so it is the responsibility of the plugin to clean the data just as it is with all 3pd extensions

avatar brianteeman brianteeman - change - 5 Oct 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-10-05 13:28:01
Closed_By brianteeman
avatar brianteeman brianteeman - close - 5 Oct 2017
avatar laoneo
laoneo - comment - 5 Oct 2017

When a 3pd component is uninstalled are then not also the categories uninstalled automatically of this component?

avatar mbabker
mbabker - comment - 5 Oct 2017

The extension installer API does that, not the components involved. And there have been a fair number of issues opened about that behavior as well.

Add a Comment

Login with GitHub to post a comment