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

Quiz/question broken after changing categories

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: Questions
    • Labels:
      None
    • Environment:
      Linux plaza 2.4.33, apache 1.3.37, mysql 5.0.45, php 4.4.7
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      After removing a category, so that all courses where moved to the top category, the quiz/question module was broken for those courses who had changed level from a sub category to the top level.

      When trying to add a new question(by clicking on question in the admin block in the course) we get the following message:

      "This is an unknown context () in print_context_name!"

      and are then being redirected to the frontpage.

      Making a backup of the course and restoring it to a new course solves the problem.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: