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

Check all the "should never happen" type errors are handled

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.5
    • 2.3.2
    • Administration
    • MOODLE_23_STABLE
    • MOODLE_25_STABLE
    • MDL-36091_should_never_happen
    • Hide

      Testing this is a little fuzzy. Check that debugging is turned on. Log in, use something ajaxy, enrol a user. If you see any of the new debugging messages raise MDLs (having searched for an existing MDL first).

      Show
      Testing this is a little fuzzy. Check that debugging is turned on. Log in, use something ajaxy, enrol a user. If you see any of the new debugging messages raise MDLs (having searched for an existing MDL first).

      If you do this you get a bunch of results.

      grep -R "never happen" .

      We should go through them and check that we are handling them in some way. Throwing an exception or something/anything.

            andyjdavis Andrew Davis
            andyjdavis Andrew Davis
            Ankit Agarwal Ankit Agarwal
            Dan Poltawski Dan Poltawski
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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