Details
-
Type: Bug
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.6.8
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
We have found that when we have run the cron.php job mail_report via wget
We have gotten back html code like below. It would appear sane that the messages of "Report mail has been sent" should be sent back to wget but not the printer friendly html. I am having a stab at maybe how the wrapper works see https://github.com/civicrm/civicrm-core/blob/master/CRM/Report/Utils/Report.php#L442 which might be the cause of things here
<div id="crm-container" class="crm-container" lang="en" xml:lang="en"> <script id="civicrm-navigation-menu" type="text/javascript" src="/civicrm/ajax/menujs/4782/en_US/8/6zRytGP7" data-qf <div id="printer-friendly"> <a href="" target='_blank' title="Printer-friendly view of this page."> <div class="ui-icon ui-icon-print"></div> </a> </div> <!-- Report class: [CRM_Report_Form_Member_FinancialDetail] --><div class="clear"></div> <div id="crm-main-content-wrapper"> <div class="messages status success" data-options='null'> <div class="icon inform-icon"></div> <span class="msg-title">Sent</span> <span class="msg-text">Report mail has been sent.</span> </div> <!-- .tpl file invoked: CRM/Report/Form.tpl. Call via form.tpl if we have a form in the page. --> <div class="crm-block crm-form-block crm-report-field-form-block"> </div>