Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.2.0
-
Component/s: None
-
Labels:None
Description
The service scheduled cancellation email may use the wrong cancellation date. This is because the date is formatted without considering timezone.
To reproduce:
- Set timezone to -1
- Schedule a service cancellation
- See that the cancellation date listed in the email is a day before the actual cancellation date
To resolve:
In app/models/services.php around line 1995 change:
private function getSuspensionAndCancellationTags($service, $package, $client) { Loader::loadModels($this, ['Contacts']);
To
private function getSuspensionAndCancellationTags($service, $package, $client) { $this->Date->setTimezone('UTC', Configure::get('Blesta.company_timezone')); Loader::loadModels($this, ['Contacts']);
Activity
Jonathan Reissmueller
created issue -
Jonathan Reissmueller
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Fix Version/s | 5.2.0-b2 [ 11717 ] | |
Fix Version/s | Short Term [ 10800 ] |
Jonathan Reissmueller
made changes -
Sprint | 5.3.0 Sprint 2 [ 139 ] |
Jonathan Reissmueller
made changes -
Rank | Ranked lower |
Jonathan Reissmueller
made changes -
Rank | Ranked higher |
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 | 49 minutes [ 2940 ] | |
Worklog Id | 15329 [ 15329 ] |
Abdy Franco
made changes -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Jonathan Reissmueller
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |