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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.7.0 Sprint 3 [ 172 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.7.0 Sprint 3 [ 172 ] 5.7.0 Sprint 3, 5.7.0 Sprint 4 [ 172, 173 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Issue Type Task [ 3 ] Bug [ 1 ]
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour, 45 minutes [ 6300 ]
        Worklog Id 16108 [ 16108 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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