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

Courses at risk of not starting does not respect 'no predictions before start - 1 week nor predictions for courses that started more than 1 week ago.'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 3.8.4, 3.9.1
    • Analytics
    • MOODLE_38_STABLE, MOODLE_39_STABLE
    • Hide

      Courses at risk of not starting

      1. Log in as admin and create a new course with start date +2 days
      2. Log in as admin and create a new course with start date - a year
      1. Go to site admin > users > permissions > assign system roles
      2. Assign the admin user as manager at system level
      3. Go to site admin > analytics > analytics models
      4. Click on Actions > Execute scheduled analysis for the "Courses at risk of not starting" model. Click on continue once done
      5. You SHOULD have a new notification. Click on View full notification for your top notification (it should show that it was added a few seconds ago)
      6. The subject SHOULD be Upcoming courses have no teachers or students
      7. The notification body SHOULD be something like

        Hi Admin,

        Courses with start dates in the next week have been identified as having no teacher or student enrolments.

      8. Verify the notification only arrives for the course startdate now -2 days course and not for the course startdate now - 1 year course.
      Show
      Courses at risk of not starting Log in as admin and create a new course with start date +2 days Log in as admin and create a new course with start date - a year Go to site admin > users > permissions > assign system roles Assign the admin user as manager at system level Go to site admin > analytics > analytics models Click on Actions > Execute scheduled analysis for the "Courses at risk of not starting" model. Click on continue once done You SHOULD have a new notification. Click on View full notification for your top notification (it should show that it was added a few seconds ago) The subject SHOULD be Upcoming courses have no teachers or students The notification body SHOULD be something like Hi Admin, Courses with start dates in the next week have been identified as having no teacher or student enrolments. Verify the notification only arrives for the course startdate now -2 days course and not for the course startdate now - 1 year course.

      I believe that statement 'no predictions before start - 1 week nor predictions for courses that started more than 1 week ago.' isn't taken into account and the report returns courses starting ages old.

      WHAT YOU EXPECT: you are notified of courses starting around the next week.
      WHAT ACTUALLY HAPPENS: you are notified of courses which have the start day whenever.
       

            lucaboesch Luca Bösch
            lucaboesch Luca Bösch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.