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

Error deleting a course link from the community block

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.6
    • 2.4.7, 2.5.3, 2.6
    • Hub
    • MOODLE_26_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • 42619-26
    • Hide
      1. Follow through the testing steps on MDLQA-5882
      2. Click to delete the course link you added
      3. Click continue on the confirmation screen
      4. Check you get back to the course you were in without error.
      Show
      Follow through the testing steps on MDLQA-5882 Click to delete the course link you added Click continue on the confirmation screen Check you get back to the course you were in without error.

    Description

      Al picked this up while cleaning up after testing MDLQA-5882.
      If you proceed to delete the link you added during testing after seeing the confirmation you are redirected back to course/view.php where you are then greeted with an error:

      Must specify course id, short name or idnumber

      More information about this error

      Debug info:
      Error code: unspecifycourseid
      Stack trace:
      line 463 of /lib/setuplib.php: moodle_exception thrown
      line 32 of /course/view.php: call to print_error()

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              samhemelryk Sam Hemelryk
              Marina Glancy Marina Glancy
              Nobody Nobody
              David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Nov/13