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

--filter option in evaluate_model.php is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.7.2
    • 3.7
    • Analytics
    • MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-65993_master
    • Hide
      1. Go to CLI and execute php admin/tool/analytics/cli/evaluate_model.php --list
      2. Remember the model id for "Students at risk of dropping out"
      3. Execute php admin/tool/analytics/cli/evaluate_model.php --modelid=THEMODELID --filter=123123123
      4. You SHOULD NOT see any coding_exception (this was the result before this patch) and you SHOULD see a !! No courses to analyse !! message
      Show
      Go to CLI and execute php admin/tool/analytics/cli/evaluate_model.php --list Remember the model id for "Students at risk of dropping out" Execute php admin/tool/analytics/cli/evaluate_model.php --modelid=THEMODELID --filter=123123123 You SHOULD NOT see any coding_exception (this was the result before this patch) and you SHOULD see a !! No courses to analyse !! message

      The --filter option allows users to filter by courseid but it is broken since 3.7.0, it will be replaced by a context filtering in MDL-64739, which is scheduled for 3.8. We can wait for MDL-64739 or fix it before it if people votes for this issue to be resolved.

            dmonllao David Monllaó
            dmonllao David Monllaó
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 40 minutes
                1h 40m

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