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

report send cron results in drush / api abnormal termination

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 4.2.8
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      I discovered on investigating CRM-12101 another drush / api related problem. Basically for the api to succeed, & hence for drush to succeed it needs to return a result. However, there are 2 obstacles to it returning a result

      1) CRM_Core_Report_form line 2380
      CRM_Utils_System::redirect(CRM_Utils_System::url(CRM_Utils_System::currentPath(),
      'reset=1'
      ));

      & line 2408
      2) around line 837 CRM_Utils_System::civiExit();

      once again this is a case of the api / cron / drush calling functions written for logged in user display. This is probably a bigger problem than this ticket & warrants it's own ticket for later review.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: