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

Force mode is broken in CRM_Contact_BAO_Contact_Utils::updateGreeting()

    Details

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

      Description

      I'm getting "unexpected error" fatal when I try to run the update_greeting Scheduled Job with the force=1 parameter included.

      To recreate:

      • go to Scheduled Jobs (admin/job?reset=1)
      • edit the Greeting updater job to include required params:
        ct=Individual
        gt=email_greeting
        version=3
      • click 'more' > Execute Now to run the job
        This gives result = Success in JobLog (and works properly)
      • now edit the Job again and add another line to parameters:
        force=1
      • Execute job again

      result in JobLog = Failure, Error message: We experienced an unexpected error. Please post a detailed description and the backtrace on the CiviCRM forums: http://forum.civicrm.org/:

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: