This error is thrown after trying to reinstall the module after uninstalling it. Seems like on uninstall. It doesn't remove that field entity.

FieldException: Attempt to create field name cet_enable which already exists and is active. in field_create_field() (line 85 of /modules/field/field.crud.inc).

Comments

digital fire’s picture

Issue summary: View changes
pjcdawkins’s picture

Status: Active » Needs review
StatusFileSize
new3.41 KB

This patch would solve the problem in two ways:

  • check that the field/instance does not exist before attempting to create it
  • delete instances on uninstall
pjcdawkins’s picture

Status: Needs review » Fixed

  • pjcdawkins committed 46a0497 on 7.x-1.x
    Issue #2392091 by Digital Fire: fix field error on reinstall.
    

Status: Fixed » Closed (fixed)

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

Status: Closed (fixed) » Needs work

The last submitted patch, 2: commerce_event_ticket-2392091-2.patch, failed testing.

pjcdawkins’s picture

Status: Needs work » Closed (fixed)

Stupid testbot

spgd01’s picture

Status: Closed (fixed) » Needs work

I still get this error when trying to uninstall and reinstall.

FieldException: Attempt to create a field of unknown type list_boolean. in field_create_field() (line 110 of E:\Websites\drupaltest-7\htdocs\modules\field\field.crud.inc)

spgd01’s picture

Status: Needs work » Closed (fixed)

Removed
Sorry realized this is different issue.