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

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.5
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      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).
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-36091_should_never_happen

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13