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

Anonymous user create new event - Invalid context id specified context::instance_by_id()

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4, 3.5
    • Fix Version/s: 3.4.1
    • Component/s: Calendar
    • Testing Instructions:
      Hide
      1. Log in as guest and go to Calendar.
      2. Make sure:
        • The new event modal form is not displayed when you click on a day container.
        • The mouse icon does not change when you hover on the day container.
      3. Now log in as a teacher.
      4. Make sure:
        • The new event modal form is displayed when you click on a day container.
        • The mouse icon is "clickable" when you hover on the day container.
      Show
      Log in as guest and go to Calendar. Make sure: The new event modal form is not displayed when you click on a day container. The mouse icon does not change when you hover on the day container. Now log in as a teacher. Make sure: The new event modal form is displayed when you click on a day container. The mouse icon is "clickable" when you hover on the day container.
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61055-master-v2

      Description

      codingerror

      Coding error detected, it must be fixed by a programmer: Invalid context id specified context::instance_by_id()
      File: /lib/accesslib.php
      Line: 4961

      Steps to reproduce :

       

        Attachments

          Activity

            People

            Assignee:
            lameze Simey Lameze
            Reporter:
            brisja03 Jason Brisson
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Rayna Mae Jayco
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jan/18