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

Invoice Templates (default and quickbooks) throw unintended exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.2, 3.3.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      The default and quickbooks invoice templates throw an exception by default for InvoiceTemplate::stream() and InvoiceTemplate::download() implementations.

      The exception isn't caught or handled because output feeds the invoice, but no exception should be thrown if there's a match on mime type, method should just exit.

        Activity

        cody Cody Phillips (Inactive) created issue -
        cody Cody Phillips (Inactive) made changes -
        Field Original Value New Value
        Description The default and quickbooks invoice templates throw an exception by default for InvoiceTemplate::stream() and InvoiceTemplate::download() implementations.

        The exception isn't caught or handled because output feeds the invoice, but no exception should be thrown if there's a match on mime type, method should just return.
        The default and quickbooks invoice templates throw an exception by default for InvoiceTemplate::stream() and InvoiceTemplate::download() implementations.

        The exception isn't caught or handled because output feeds the invoice, but no exception should be thrown if there's a match on mime type, method should just exit.
        cody Cody Phillips (Inactive) made changes -
        Fix Version/s 3.3.0 [ 10100 ]
        cody Cody Phillips (Inactive) made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        cody Cody Phillips (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        jonathan Jonathan Reissmueller made changes -
        Link This issue duplicates CORE-1102 [ CORE-1102 ]

          People

          • Assignee:
            cody Cody Phillips (Inactive)
            Reporter:
            cody Cody Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Jul/14