Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.3.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
The Support Manager needs to listen to the Clients.delete event handler. It should then delete all client-related records, including:
- Tickets
- Ticket replies
- Attachments (from the file system and database)
TODO:
- To speed up the deletion, add an index on `support_tickets`.`client_id`
- Delete all tickets, ticket replies, and reply attachments for the client
Assume the action takes place in a transaction already, so do not attempt to perform the deletion within its own transactionUpdate the documentation for the event handler to describe that the action takes place within a database transaction
Activity
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Component/s | Staff Interface [ 10000 ] |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
Status | Open [ 1 ] | In Progress [ 3 ] |
Jonathan Reissmueller
made changes -
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 56 minutes [ 3360 ] | |
Worklog Id | 11138 [ 11138 ] |
Automated transition triggered when Jonathan Reissmueller created pull request #29 in Stash -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Jonathan Reissmueller
made changes -
Time Spent | 56 minutes [ 3360 ] | 1 hour, 19 minutes [ 4740 ] |
Worklog Id | 11143 [ 11143 ] |
Tyson Phillips (Inactive)
made changes -
Description |
The Support Manager needs to listen to the [Clients.delete|https://docs.blesta.com/display/dev/Event+Handlers] event handler. It should then delete all client-related records, including:
* Tickets ** Ticket replies ** Attachments (from the file system and database) TODO: # To speed up the deletion, add an index on `support_tickets`.`client_id` # Delete all tickets, ticket replies, and reply attachments for the client #* Assume the action takes place in a transaction already, so do not attempt to perform the deletion within its own transaction #* Update the documentation for the event handler to describe that the action takes place within a database transaction |
The Support Manager needs to listen to the [Clients.delete|https://docs.blesta.com/display/dev/Event+Handlers] event handler. It should then delete all client-related records, including:
* Tickets ** Ticket replies ** Attachments (from the file system and database) TODO: # To speed up the deletion, add an index on `support_tickets`.`client_id` # Delete all tickets, ticket replies, and reply attachments for the client #* -Assume the action takes place in a transaction already, so do not attempt to perform the deletion within its own transaction- #* -Update the documentation for the event handler to describe that the action takes place within a database transaction- |
Automated transition triggered when Tyson Phillips (Inactive) merged pull request #29 in Stash -
Status | In Review [ 5 ] | Closed [ 6 ] |