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

Calender block gets loaded on the assign grader page

    XMLWordPrintable

Details

    • MOODLE_311_STABLE
    • Hide

      Verify that the problem occurs, when the value of "Display on page types" is set to "Any page":

      1. Add the calendar block to a course
      2. Click the gear icon on the block and hit "Configure Calendar block"
      3. Change the value of "Display on page types" to "Any page"
      4. Create an assignment in the same course where you added the block
      5. Open the assignment
      6. Click the "Grade" button
      7. Verify that you get an "Invalid parameter" error

       

      Verify that the problem does not occur, when the value of "Display on page types" is not set to "Any page":

      1. Add the calendar block to a course
      2. Click the gear icon on the block and hit "Configure Calendar block"
      3. Change the value of "Display on page types" to something else than "Any page"
      4. Create an assignment in the same course where you added the block
      5. Open the assignment
      6. Click the "Grade" button
      7. Verify that you get an "Invalid parameter" error
      Show
      Verify that the problem occurs, when the value of "Display on page types" is set to "Any page": Add the calendar block to a course Click the gear icon on the block and hit "Configure Calendar block" Change the value of "Display on page types" to "Any page" Create an assignment in the same course where you added the block Open the assignment Click the "Grade" button Verify that you get an "Invalid parameter" error   Verify that the problem does not occur, when the value of "Display on page types" is not set to "Any page": Add the calendar block to a course Click the gear icon on the block and hit "Configure Calendar block" Change the value of "Display on page types" to something else than "Any page" Create an assignment in the same course where you added the block Open the assignment Click the "Grade" button Verify that you get an "Invalid parameter" error

    Description

      The calendar block is loaded on the assign grader page, if it is added to the course of the assignment and the block setting: "Display on page types" is set to: "Any page".

       

      This makes the calendar try to call the "core_calendar_get_calendar_monthly_view" external service. It does so with wrong arguments leading to an "Invalidparameter" error popping up everytime you load the assign grader.

      Attachments

        Activity

          People

            Unassigned Unassigned
            frederikmillingpytlick Frederik Milling Pytlick
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: