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

CRM_Core_BAO_CustomField::getFields is out of sync with the schema since 3.1alpha1

    Details

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

      Description

      In CiviCRM 3.1alpha1, the field 'date_parts' in the custom_fields table was changed to 'date_format'. It looks like the getFields method in the CRM_Core_BAO_CustomField class wasn't updated to reflect this change. This causes a database error when trying to create new contact records with the API. Patch is attached.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              kaldari Ryan Kaldari
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: