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

Return URL is incorrect on course editing page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.7, 2.3.4
    • 2.1.8, 2.2.5, 2.3.2
    • Course
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MDL-36302-master
    • Hide
      1. Log in as admin/teacher
      2. Navigate to a course
      3. Click Edit settings under Course admin
      4. Click Turn settings on/off from Course admin
      5. Verify the user is returned to the course settings page and edit mode is turned off/on.
      Show
      Log in as admin/teacher Navigate to a course Click Edit settings under Course admin Click Turn settings on/off from Course admin Verify the user is returned to the course settings page and edit mode is turned off/on.

      There are a number of actions that lead away from the course editing page after which the user is returned. This includes adding/deleting/moving blocks, changing languages and turning editing on/off. Currently there is a problem with these actions. When the system tries to return the user to the course settings page, an error is given.

      Replication steps:

      1. Log in as admin/teacher
      2. Navigate to a course
      3. Click Edit settings under Course admin
      4. Click Turn editing on/off from Course admin

      Expected result: The user is returned to the course settings page

      Actual result: An error is shown...

      Either course id or category must be specified
       
      More information about this error
      Debug info:
      Error code: needcoursecategroyid
      Stack trace:
       
          line 467 of \lib\setuplib.php: moodle_exception thrown
          line 62 of \course\edit.php: call to print_error()

      I think the return URL issue is a recent development after MDL-32184, however there was a problem prior to this that was caused by the page URL being incorrect.

            damyon Damyon Wiese
            salvetore Michael de Raadt
            Andrew Davis Andrew Davis
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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