Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-42245 META: Follow up issues with new course management interface
  3. MDL-42294

Deleting a course: coding error + some of the content is displayed before the crumbtrail.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin.
      2. Browse to the course management interface.
      3. Select a category containing a course that you can delete.
      4. Select the course.
      5. Click to delete the course.
      6. Click to confirm the deletion.
      7. Check the confirmation page is structured correctly and that there are no errors.
      Show
      Log in as an admin. Browse to the course management interface. Select a category containing a course that you can delete. Select the course. Click to delete the course. Click to confirm the deletion. Check the confirmation page is structured correctly and that there are no errors.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      42294-26
    • Pull Master Diff URL:

      Description

      Delete a course from the new admin interface:

      Coding error detected, it must be fixed by a programmer: Invalid state passed to moodle_page::set_state. We are in state 3 and state 1 was requested.
      Debug info:
      Error code: codingerror
      Stack trace:
      line 850 of /lib/pagelib.php: coding_exception thrown
      line 791 of /lib/outputrenderers.php: call to moodle_page->set_state()
      line 79 of /course/delete.php: call to core_renderer->header()

      Also notice that the green notifications are displayed above the crumbtrail.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              jerome Jérôme Mouneyrac
              Integrator:
              Damyon Wiese
              Tester:
              Damyon Wiese
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13