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:

      1. To speed up the deletion, add an index on `support_tickets`.`client_id`
      2. 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

        Activity

        tyson Tyson Phillips (Inactive) created issue -
        tyson Tyson Phillips (Inactive) made changes -
        Field Original Value New Value
        Component/s Staff Interface [ 10000 ]
        jonathan 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 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 Jonathan Reissmueller made changes -
        Time Spent 56 minutes [ 3360 ] 1 hour, 19 minutes [ 4740 ]
        Worklog Id 11143 [ 11143 ]
        tyson 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 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/18

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour, 19 minutes
              1h 19m

                Agile