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

CrivCRM crashes while creating a new user if a custom field is used as part of duplicate checking.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7, 1.8, 2.0, 3.0
    • Fix Version/s: 1.7
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Set duplicate check for First Name, Last Name and Persona (a custom field). Try to create a new account and it crashes with this error:

      error

      CRM_Core_Error Object
      (
      [_errors] => Array
      (
      [0] => Array
      (
      [code] => 8000
      [params] => Array
      (
      [0] => 3,5,6,7,8,9,10,11,13,14,16,17,19,20,22,23,24,25,26,27,29,30,32,33,35,38,40,41,43,45,46,48,49,50,51,52,56,57,58,60,61,62,63,65,67,68,69,72,73,74,75,76,77,78,80,81,82,83,84,85,88,89,90,91,93,94,95,97,98,99,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,127,132,135,136,137,141,142,143,144,145,146,147,148,149,150,151,152
      )

      [package] => CRM
      [level] => Fatal
      [time] => 1177211751.4513
      [context] => Array
      (
      [file] => /home/drupal/svn/civicrm_v1.7/CRM/Core/Error.php
      [line] => 486
      [function] => createError
      [class] => CRM_Core_Error
      )

      [message] => Found matching contacts: 3,5,6,7,8,9,10,11,13,14,16,17,19,20,22,23,24,25,26,27,29,30,32,33,35,38,40,41,43,45,46,48,49,50,51,52,56,57,58,60,61,62,63,65,67,68,69,72,73,74,75,76,77,78,80,81,82,83,84,85,88,89,90,91,93,94,95,97,98,99,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,127,132,135,136,137,141,142,143,144,145,146,147,148,149,150,151,152
      )

      )

      [_errorsByLevel] => Array
      (
      [Fatal] => Array
      (
      [0] => Array
      (
      [code] => 8000
      [params] => Array
      (
      [0] => 3,5,6,7,8,9,10,11,13,14,16,17,19,20,22,23,24,25,26,27,29,30,32,33,35,38,40,41,43,45,46,48,49,50,51,52,56,57,58,60,61,62,63,65,67,68,69,72,73,74,75,76,77,78,80,81,82,83,84,85,88,89,90,91,93,94,95,97,98,99,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,127,132,135,136,137,141,142,143,144,145,146,147,148,149,150,151,152
      )

      [package] => CRM
      [level] => Fatal
      [time] => 1177211751.4513
      [context] => Array
      (
      [file] => /home/drupal/svn/civicrm_v1.7/CRM/Core/Error.php
      [line] => 486
      [function] => createError
      [class] => CRM_Core_Error
      )

      [message] => Found matching contacts: 3,5,6,7,8,9,10,11,13,14,16,17,19,20,22,23,24,25,26,27,29,30,32,33,35,38,40,41,43,45,46,48,49,50,51,52,56,57,58,60,61,62,63,65,67,68,69,72,73,74,75,76,77,78,80,81,82,83,84,85,88,89,90,91,93,94,95,97,98,99,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,127,132,135,136,137,141,142,143,144,145,146,147,148,149,150,151,152
      )

      )

      )

      [_package] => CRM
      [_compat] =>
      [_msgCallback] => Array
      (
      [0] => CRM_Core_Error Object
      RECURSION
      [1] => getErrorMessage
      )

      [_contextCallback] => Array
      (
      [0] => CRM_Core_Error Object
      RECURSION
      [1] => getFileLine
      )

      [_errorCallback] => Array
      (
      )

      [_logger] => Log_display Object
      (
      [_error_prepend] =>
      [_error_append] =>
      [_linebreak] => <br />

      [_opened] =>
      [_id] => 47a9e0edb593b027e56319913532dcbe
      [_ident] =>
      [_priority] => 6
      [_mask] => 255
      [_listeners] => Array
      (
      )

      [_formatMap] => Array
      (
      [%

      {timestamp}

      ] => %1$s
      [%

      {ident}

      ] => %2$s
      [%

      {priority}

      ] => %3$s
      [%

      {message}

      ] => %4$s
      [%

      {file}

      ] => %5$s
      [%

      {line}

      ] => %6$s
      [%

      {function}

      ] => %7$s
      [%\{] => %%{
      )

      )

      [_errorMsgs] => Array
      (
      )

      )

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              majortom Carmi Weinzweig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: