New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending new assignee email while creating a case is not working. #10387
Comments
@ebsi-RBakade Would you make a new Pull Request (referencing this Issue number) with the edited file, for review, test, and if approved, add to app. |
@chris001 |
Hey @ebsi-RBakade ! I've given this a try on the latest version, with: and this appears to be working as expected. Have I perhaps missed something in replication? I'm attempting:
I see from your issue that you're using SuiteCRM 7.4.3 and PHP 5.3 You also mention: Thanks! |
@johnM2401 |
Issue
Email notification is not sending while creating a case at the first timet to assignee. But when we update case and reassign case to other User then it works.
Expected Behavior
It should send an email to assignee for newly created Case.
Actual Behavior
Email is not sending to assignee when new case is created.
Possible Fix
Move the following line below if else block
https://github.com/salesagility/SuiteCRM/blob/hotfix/data/SugarBean.php#L2411
$this->_sendNotifications($check_notify);
it should be below if else block because at that time case is not created. It gets only created in the else block having insert() function.
When I moved _sendNotification() line below if else block then it’s working as intended.
Steps to Reproduce
Context
Your Environment
The text was updated successfully, but these errors were encountered: