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

Error deleting a course link from the community block

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.4.7, 2.5.3, 2.6
    • Component/s: Hub
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      42619-26
    • Pull Master Diff URL:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/13