Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21294

change all error handling in mnet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • MNet
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      At the least, it should throw exceptions, which are caught by the error handler and used to send back a properly formatted xmlrpc response.

      Eg: mnet code does something like

      throw new mnet_exception(1234, get_string('blah', 'mnet')); // where 'blah' might be 'Your identity provider is not providing us enough information for your account to be created'

      and the default error handler, does something like if (defined('XMLRPC_MNET'))

      { xmlrpc_server_fault($e->getCode(), $e->getMessage()); }

      Will link in related bugs.

            mjollnir Penny Leach
            mjollnir Penny Leach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.