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

Quotes cannot be sent by email if they have been "Approved".

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.12.0
    • Fix Version/s: 5.12.1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      To reproduce:

      1. Create a quote .
      2. Mark the quote as approved.
      3. Click the bulk option under Quotes: Approved and "Deliver via Email"
      4. Note that the error message "The action given is an invalid email group action." is displayed.

      It should be possible to email approved quotes, shouldn't it?

      Here are some customer provided details if helpful:

      The system attempts to use the email group action quotation_approved, which does not exist in email_groups
      Instead, staff_quotation_approved exists and is valid
      The fallback to quotation_delivery is defined but not triggered
      The error internally is: "The action given is an invalid email group action."
      Issue confirmed on clean install — not caused by customization
      Temporary fix applied:

      // app/controllers/admin_clients.php
      $email_template = 'quotation_delivery';
      if ($status == 'approved')

      Unknown macro: { $email_template = 'staff_quotation_approved'; }

      Please confirm whether quotation_approved should be added to email_groups, or if fallback logic should be corrected to avoid silent failure.

        Activity

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: