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

Custom fields that are set to be updated only by php hook are updated with default values when contact is edited in CRM Core

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.4
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      If a custom field with a multiple-choice set of values has a default value, that default value will be stored to the field if other fields on the contact are edited. Sounds OK, but probably shouldn't happen if the field is set not to be updated by CiviCRM – and in 3.01, the field will be updated even if set to be updated only by php hook. This update prevents extensions that link to CiviCRM from referencing the default value field in a useful way.

      Very small bug.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              willbrownsberger Will Brownsberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: