Currently on uninstall 'field_project_type' will be deleted. There is a note questioning if this is the correct behaviour. In my personal use case, I don't want the Project module to delete the field as I am still planning on using the field and it's data, just not the Project module.

CommentFileSizeAuthor
#1 dont_del_fields-2411909-1.patch1.11 KBdeciphered

Comments

deciphered’s picture

Status: Active » Needs review
StatusFileSize
new1.11 KB

Patch attached simply checks if the field has data before deleting; if it does, doesn't delete.

drumm’s picture

Status: Needs review » Fixed

Sounds reasonable, committed.

  • drumm committed 5a1eb3d on 7.x-2.x authored by Deciphered
    Issue #2411909 by Deciphered: Don't remove fields on uninstall
    
joachim’s picture

I'm not sure this is a good idea. For one thing, it means that using Devel module to reinstall a module will crash.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.