Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2845

Deleting client results in an error when recurring invoices are deleted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.3.2
    • Fix Version/s: 4.4.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When deleting a client not all things are deleted, the following error is logged:

      [2018-10-10 18:15:49] general.ERROR: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'blesta.invoices_recur_lines' doesn't exist in .. [truncated]

      app/models/invoices.php references a table called invoices_recur_lines but it should be invoice_recur_lines (typo!)

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        Automated transition triggered when Jonathan Reissmueller created pull request #539 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Sprint 4.4.0 Sprint 6 [ 73 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #539 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              22/Oct/18

              Agile