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

Merge fatal error when copying custom field data of type 'DATE'

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.8
    • Fix Version/s: 4.7.9
    • Component/s: None
    • Documentation Required?:
      None
    • Sprint:
      MergeSprint1
    • Funding Source:
      Contributed Code

      Description

      #0 /srv/civicrm/civicrm/CRM/Core/BAO/CustomValueTable.php(595): CRM_Core_Error::createAPIError("value: 2012-12-03 22:08:31 is not of the right field data type: Date")
      #1 /srv/civicrm/civicrm/CRM/Dedupe/Merger.php(1838): CRM_Core_BAO_CustomValueTable::setValues((Array:6))
      #2 /srv/civicrm/CRM/Dedupe/Merger.php(772): CRM_Dedupe_Merger::moveAllBelongings("107920", "3328979", (Array:19))
      #3 /srv/civicrm/CRM/Dedupe/Merger.php(610): CRM_Dedupe_Merger::merge((Array:2), (Array:3), "safe", TRUE, TRUE)
      #4 /srv/civicrm/CRM/Contact/Page/DedupeMerge.php(135): CRM_Dedupe_Merger::batchMerge("4", "292", "safe", TRUE, 2, 2)
      #5 [internal function](): CRM_Contact_Page_DedupeMerge::callBatchMerge(Object(CRM_Queue_TaskContext), "4", "292", "safe", TRUE, 2, 2)
      #6 /srv/civicrm/CRM/Queue/Task.php(88): call_user_func_array((Array:2), (Array:7))
      #7 /srv/civicrm/CRM/Queue/Runner.php(214): CRM_Queue_Task->run(Object(CRM_Queue_TaskContext))
      #8 /srv/civicrm/CRM/Queue/Page/AJAX.php(52): CRM_Queue_Runner->runNext(TRUE)
      #9 /srv/civicrm/CRM/Queue/ErrorPolicy.php(106):

      {closure}

      ()
      #10 /srv/civicrm/CRM/Queue/Page/AJAX.php(54): CRM_Queue_ErrorPolicy->call(Object(Closure))
      #11 [internal function](): CRM_Queue_Page_AJAX::runNext()
      #12 /srv/civicrm/CRM/Core/Invoke.php(278): call_user_func((Array:2))
      #13 /srv/civicrm/CRM/Core/Invoke.php(86): CRM_Core_Invoke::runItem((Array:13))
      #14 /srv/civicrm/CRM/Core/Invoke.php(54): CRM_Core_Invoke::_invoke((Array:4))
      #15 /srv/civicrm/drupal/civicrm.module(454): CRM_Core_Invoke::invoke((Array:4))
      #16 [internal function](): civicrm_invoke("queue", "ajax", "runNext")

        Attachments

          Activity

            People

            • Assignee:
              john John K.
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: