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

Calendar block navigation doesn't work on front page without logged in user

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Blocks, Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as admin
      2. Navigate to “Site home”
      3. Turn editing on
      4. Add the “Calendar” block and the “Upcoming events” block
      5. Navigate to the calendar
      6. Add a new site event for today (or some time in the near future)
      7. Navigate back to “Site home”
      8. CONFIRM that the navigation is displayed in the calendar block and that you can changes months without the page reloading
      9. CONFIRM that the event is shown in the upcoming events block and that clicking it opens the summary modal
      10. Log out
      11. CONFIRM that you don’t see the navigation on the calendar block
      12. CONFIRM that you see the event in the upcoming events block and that clicking it does not open the summary modal. Instead it should navigate you to the calendar (which will prompt you to log in).
      Show
      Log in as admin Navigate to “Site home” Turn editing on Add the “Calendar” block and the “Upcoming events” block Navigate to the calendar Add a new site event for today (or some time in the near future) Navigate back to “Site home” CONFIRM that the navigation is displayed in the calendar block and that you can changes months without the page reloading CONFIRM that the event is shown in the upcoming events block and that clicking it opens the summary modal Log out CONFIRM that you don’t see the navigation on the calendar block CONFIRM that you see the event in the upcoming events block and that clicking it does not open the summary modal. Instead it should navigate you to the calendar (which will prompt you to log in).
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-60766-master

      Description

      The ajax request sent by the block isn't available without a logged in user which means if the block is added to a page where the user isn't logged in then the user receives an error when trying to navigate the block.

        Attachments

          Activity

            People

            • Assignee:
              ryanwyllie Ryan Wyllie
              Reporter:
              ryanwyllie Ryan Wyllie
              Peer reviewer:
              Andrew Nicols
              Integrator:
              Jun Pataleta
              Tester:
              Damyon Wiese
              Participants:
              Component watchers:
              Adrian Greeve, Mihail Geshoski, Peter Dias, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17