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

Calendar upcoming view shows wrong no events message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.7
    • Fix Version/s: 3.6.6, 3.7.2
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      1. Make sure you don't have any events in the future
      2. Log in as admin and go to Calendar.
      No events - Upcoming view
      1. Change the view to Upcoming. (A shortcut would be to set the "view" parameter in the URL to "upcoming", e.g. "[YOUR_MOODLE_URL]/calendar/view.php?view=upcoming)
      2. You should see There are no upcoming events
      With events - Upcoming view
      1. Create one or more events in the future
      2. Confirm that the upcoming view shows these events.
      No events - Day view
      1. Now change the view to Day view (A shortcut would be to set the "view" parameter in the URL to "day", e.g. "[YOUR_MOODLE_URL]/calendar/view.php?view=day)
      2. If necessary, switch to a day without any events.
      3. You should see There are no events this day.
      With events - Day view
      1. View the day view for a specific date with calendar events.
      2. Confirm that the events for that day are being shown.
      Show
      Make sure you don't have any events in the future Log in as admin and go to Calendar. No events - Upcoming view Change the view to Upcoming. (A shortcut would be to set the " view " parameter in the URL to " upcoming ", e.g. " [YOUR_MOODLE_URL] /calendar/view.php?view=upcoming ) You should see There are no upcoming events With events - Upcoming view Create one or more events in the future Confirm that the upcoming view shows these events. No events - Day view Now change the view to Day view (A shortcut would be to set the " view " parameter in the URL to " day ", e.g. " [YOUR_MOODLE_URL] /calendar/view.php?view=day ) If necessary, switch to a day without any events. You should see There are no events this day. With events - Day view View the day view for a specific date with calendar events. Confirm that the events for that day are being shown.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.6 Branch:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-66012-master
    • Sprint:
      Internationals - 3.8 Sprint 2

      Description

      Just had to wipe my events table and noticed the Upcoming view uses the day view string when there are no events.

      In my opinion, the correct message to show is "There are no upcoming events".

        Attachments

          Activity

            People

            • Assignee:
              lameze Simey Lameze
              Reporter:
              lameze Simey Lameze
              Peer reviewer:
              Shamim Rezaie
              Integrator:
              Jun Pataleta
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, 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:
                9/Sep/19

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 57 minutes
                2h 57m