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

activity copy: allow 0 values for custom fields

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.5
    • Fix Version/s: 4.2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      If an activity has integer type custom fields, a default value of > 0, and you copy an activity where the value has been set to 0, then the 0 value is ignored and the default value retained. whenever we copy an activity, we should treat a 0 value as legitimate and retain it.

      see attached patch.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: