You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.
Description :
When Printing Invoice from Contribution View page return DB constraint error. because print pdf functionality is also call CRM_Core_BAO_MessageTemplate::sendTemplate() to build html.
so we cannot expect $params['toEmail'] in this case, which cause DB Constraint error while creating Mailing queue in mte.php (line 564).
Tested in Civi Version 4.7.23 & 4.7.29
To Reproduce error:
Settings : 1) Enable Mandrill SMTP 2) Used for Transactional Emails
Make Sure Civi invoicing has been enabled in civicrm setting. Enable invoicing
Menu > Administer > civicontribute >> CiviContribute Component setting
select Enable Tax and Invoicing tab checkbox. which will enable print invoice button on contribution view page.
Description :
When Printing Invoice from Contribution View page return DB constraint error. because print pdf functionality is also call
CRM_Core_BAO_MessageTemplate::sendTemplate()
to build html.so we cannot expect $params['toEmail'] in this case, which cause DB Constraint error while creating Mailing queue in mte.php (line 564).
Tested in Civi Version 4.7.23 & 4.7.29
To Reproduce error:
Settings :
1) Enable Mandrill SMTP
2) Used for Transactional Emails
Make Sure Civi invoicing has been enabled in civicrm setting.
Enable invoicing
Menu > Administer > civicontribute >> CiviContribute Component setting
select
Enable Tax and Invoicing tab
checkbox. which will enable print invoice button on contribution view page.Steps:
which return DB Error. (attached Screenshot)
Attached a PR for this issue #112
The text was updated successfully, but these errors were encountered: