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

Scheduled tasks admin: show the defaults in the form where you edit the settings for a task

XMLWordPrintable

    • MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Hide

      All this is covered by Behat.

      Manual coverage:

      1. Log in as admin.
      2. Go to Administration > Server > Tasks > Scheduled tasks
      3. Click the edit icon for a task.
      4. Verify that at the top of the form, you can see both the task human-readable name in the heading, and the class name below.
      5. Verify you can see both the component human-readable name (e.g. Forum) and the internal name (e.g. mod_forum).
      6. Verify that you can see the default for each of the time settings next to the corresponding input box.
      7. Verify that the page scrolls to the task you edited, and that table row is highlighted.
      8. Click edit on a different task.
      9. Click Cancel.
      Show
      All this is covered by Behat. Manual coverage: Log in as admin. Go to Administration > Server > Tasks > Scheduled tasks Click the edit icon for a task. Verify that at the top of the form, you can see both the task human-readable name in the heading, and the class name below. Verify you can see both the component human-readable name (e.g. Forum) and the internal name (e.g. mod_forum). Verify that you can see the default for each of the time settings next to the corresponding input box. Verify that the page scrolls to the task you edited, and that table row is highlighted. Click edit on a different task. Click Cancel.

      On the screen where you edit the settings for a particular scheduled task (e.g. .../admin/tool/task/scheduledtasks.php?action=edit&task=...) it would be helpful to show the defaults (from the corresponding .../db/tasks/php file) in the form.

      Also, at the top of this form, it should give the full name of the task (e.g. \core\task\analytics_cleanup_task) as well as the human-readable name (e.g. Analytics cleanup). It would probably also help to show the component name, as in the scheduled tasks table.

      This is similar to the way that the roles UI shows you the defaults from the corresponding role archetype.

      This would help admins editing the settings, to know how their current settings compare to the defaults.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Mark Johnson Mark Johnson
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 55 minutes
                55m

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