Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.6.0-b1
-
Component/s: None
-
Labels:None
Description
To reproduce:
- Configure the messenger payment notice
- Enable error reporting
- Create 2 clients with different phone numbers
- Create an invoice the is due for a payment reminder
- Run the cron
- See a fatal error
In core/Automation/Tasks/Task/PaymentReminders.php around line 438 change:
$this->MessengerManager->send($options['email_template'], $tags, [$invoice->client->user_id]);
To
$this->MessengerManager->send($options['email_template'], $tags, [$client->user_id]);
Activity
Jonathan Reissmueller
created issue -
Jonathan Reissmueller
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Sprint | 5.6.0 Sprint 4 [ 168 ] |
Jonathan Reissmueller
made changes -
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Abdy Franco
made changes -
Assignee | Abdy Franco [ abdy ] |
Abdy Franco
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Abdy Franco
made changes -
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 42 minutes [ 2520 ] | |
Worklog Id | 16011 [ 16011 ] |
Abdy Franco
made changes -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Jonathan Reissmueller
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |
This bug may cause all invoice delivery messages to be sent to a single user.