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

custom data: defaults overwrite empty sets on update

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.3
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      create a custom data group for activities
      create a custom field and set a default value

      create an activity
      delete the default value and save
      edit the activity
      >> the default value repopulates

      see attached patch. the logic was flawed when setting default values.

        Attachments

          Activity

            People

            • Assignee:
              pratik.joshi Pratik Joshi
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: