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

Clicking on the People block > Participants link within an Activity causes Invlid context Error.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.2
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      When you go into any course, access any activity (such as News Forum) in the course, and then click the Participants link in the Participants block... we receive an error message that says Invalid Context.

      Result as seen in Fiddler trace: 404 Page Not Found

      Result Dsipalyed: Invalid context - More information about this error; Link for more information is a blank page.

      The people block only shows lists of course participants, so it is expecting a contextlevel of 50 - a module has context level of 70.

      Not sure if this is a bug or a misuse of the block, but clients are getting confused. Maybe block it from being accessed in an activity if it shouldn't be accessed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              kfortin Kathryn Fortin
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: