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

RSS Block generates errors when added to the MyMoodle Page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: Blocks, Roles / Access
    • Labels:
      None
    • Environment:
      MySQL 4.1.20
      PHP 4.3.9
      Apache 2
      Mac OS X
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE

      Description

      The RSS block generates the following errors when added to the My Moodle page by a regular site user (guest role, but occurs for any non-administrator role)

      Error: Invalid context creation request for level "50", instance "5".

      Error: Invalid context creation request for level "50", instance "5".

      Error: Invalid context creation request for level "50", instance "5".

      Error: Invalid context creation request for level "50", instance "5".

      The error does not occur when the user is a has the role of a Site Administrator.

      Steps to reproduce:
      1. Set debugging to NORMAL
      2. Log in with a user who is not a site admin (using the default guest role)
      3. Go to the My Moodle page by adding the /my to the end of the URL
      4. Turn Editing on
      5. Add an RSS block

      The errors will appear above the block
      See the attached screenshot

        Attachments

        1. Picture 1.pdf
          87 kB
          Stephen Bourget

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            sbourget Stephen Bourget
            Tester:
            Ken Wilson
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              7/Nov/06