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

Log job execution when executed through api

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 4.5.5
    • Fix Version/s: Unscheduled
    • Component/s: CiviCRM API
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None

      Description

      When executing a job through the api with following call
      $result = civicrm_api3('Job', 'disable_expired_relationships', array(
      'sequential' => 1,
      ));
      there is no job log entry created. The api directly calls
      CRM_Contact_BAO_Relationship::disableExpiredRelationships();

      If the api could call the Job class, and executing the execute method there a log entry would be created.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mallezie Tim Mallezie
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: