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

Support Manager: Error on reply validation error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.1
    • Component/s: None
    • Labels:
      None

      Description

      To reproduce:

      • Create a ticket assigned to a department
      • Post an empty reply in the admin interface
      • See error "Undefined property: stdClass::$custom_fields."

      To fix, update plugins/support_manager/controllers/admin_tickets.php around lines 458 and 606 from:

              $input_fields = $this->formatDepartmentCustomFields($department->fields, $vars->custom_fields);
      

      To

              $input_fields = $this->formatDepartmentCustomFields($department->fields, $vars->custom_fields ?? []);
      

        Activity

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              18/Jan/23

              Time Tracking

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

                Agile