Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5575

Editing Contact Type may cause it to become inactive

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      1. On the Contact Type page

      civicrm/admin/options/subtype

      if you edit a built-in Contact Type it gets set to inactive (shows up in red in list).

      2. If you want to create a new Contact Type (sub-type) based on that changed type, you cannot because the parent type is inactive.

      I was able to work around these issues by editing the civicrm_contact_type table directly.

      I suspect the root cause of this bug is that the "Save" code is not explicitly setting the "enabled" flag for the contact type record, so when CC saves it it gets set to disabled.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              hlevinson Harry Levinson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: