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

Assign Case to Another Client - throws fatal error

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: CiviCase
    • Labels:
      None
    • Documentation Required?:
      None

      Description

          • This is a regression ****

      To recreate -

      • Manage Case
      • Click Assign to Another Client button
      • Select a contact and click 'Reassign Case'

      Backtrace-------------------
      #3 /Users/dgg/git/crm_v4.5/packages/DB.php(975): PEAR_Error->PEAR_Error("DB Error: unknown error", -1, 16, (Array:2), "INSERT INTO civicrm_case (case_type_id , subject , start_date , status_id , i...")
      #4 /Users/dgg/git/crm_v4.5/packages/PEAR.php(564): DB_Error->DB_Error(-1, 16, (Array:2), "INSERT INTO civicrm_case (case_type_id , subject , start_date , status_id , i...")
      #5 /Users/dgg/git/crm_v4.5/packages/DB/common.php(1905): PEAR->raiseError(NULL, -1, NULL, NULL, "INSERT INTO civicrm_case (case_type_id , subject , start_date , status_id , i...", "DB_Error", TRUE)
      #6 /Users/dgg/git/crm_v4.5/packages/DB/mysql.php(899): DB_common->raiseError(-1, NULL, NULL, NULL, "1292 ** Incorrect date value: '2014' for column 'start_date' at row 1")
      #7 /Users/dgg/git/crm_v4.5/packages/DB/mysql.php(328): DB_mysql->mysqlRaiseError()
      #8 /Users/dgg/git/crm_v4.5/packages/DB/common.php(1216): DB_mysql->simpleQuery("INSERT INTO civicrm_case (case_type_id , subject , start_date , status_id , i...")
      #9 /Users/dgg/git/crm_v4.5/packages/DB/DataObject.php(2442): DB_common->query("INSERT INTO civicrm_case (case_type_id , subject , start_date , status_id , i...")
      #10 /Users/dgg/git/crm_v4.5/packages/DB/DataObject.php(1060): DB_DataObject->_query("INSERT INTO civicrm_case (case_type_id , subject , start_date , status_id , i...")
      #11 /Users/dgg/git/crm_v4.5/CRM/Core/DAO.php(299): DB_DataObject->insert()
      #12 /Users/dgg/git/crm_v4.5/CRM/Core/DAO.php(1190): CRM_Core_DAO->save()
      #13 /Users/dgg/git/crm_v4.5/CRM/Case/BAO/Case.php(2387): CRM_Core_DAO::copyGeneric("CRM_Case_DAO_Case", (Array:1))
      #14 /Users/dgg/git/crm_v4.5/CRM/Case/Form/EditClient.php(131): CRM_Case_BAO_Case::mergeCases("3", "1", "205", NULL, TRUE)
      #15 /Users/dgg/git/crm_v4.5/CRM/Core/Form.php(303): CRM_Case_Form_EditClient->postProcess()

        Attachments

          Activity

            People

            • Assignee:
              atif.shaikh Atif Shaikh
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: