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

Admin cancelling a service when logged in as client causes error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.1.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      An admin cancelling a service with a cancellation fee when logged in as a client causes an error:

      Undefined property: ClientServices::$SettingsCollection on line 520 in C:\wamp64\www\blesta\public_html\app\controllers\client_services.php 
      
      Printing Stack Trace: 
      #0 [internal function]: UnknownException::setErrorHandler(8, 'Undefined prope...', 'C:\\wamp64\\www\\b...', 520, Array)
      #1 C:\wamp64\www\blesta\public_html\vendors\monolog\monolog\src\Monolog\ErrorHandler.php(164): call_user_func(Array, 8, 'Undefined prope...', 'C:\\wamp64\\www\\b...', 520, Array)
      #2 C:\wamp64\www\blesta\public_html\app\controllers\client_services.php(520): Monolog\ErrorHandler->handleError(8, 'Undefined prope...', 'C:\\wamp64\\www\\b...', 520, Array)
      #3 C:\wamp64\www\blesta\public_html\vendors\minphp\bridge\src\Lib\Dispatcher.php(143): ClientServices->cancel()
      #4 C:\wamp64\www\blesta\public_html\index.php(21): Dispatcher::dispatch('/blesta/public_...')
      #5 {main}
      

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              17/Jul/17

              Agile