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

Plagiarism tasks cannot be run from scheduled tasks UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • 4.0.2
    • Plagiarism, Tasks
    • MOODLE_400_STABLE
    • Hide

      Scheduled tasks

      1. Log in as admin
      2. Install demo plugin mdl75322.zip (copy to site plagiarism/ directory)
      3. Navigate to General > Advanced features in site administration
      4. Select Enable plagiarism plugins and save changes
      5. Navigate to Server > Tasks > Scheduled tasks in site administration
      6. Confirm the MDL-75322 Demo task doesn't contain a Run now link and states the plugin is disabled
      7. Navigate to Plugins > Plagiarism > Manage plagiarism plugins in site administration
      8. Press Settings for the demo MDL-75322 Test plugin
        • (The page will reload, but has enabled the plugin in the background)
      9. Navigate to Server > Tasks > Scheduled tasks in site administration
      10. Confirm presence of Run now link for the MDL-75322 Demo task task
      11. Press Run now
      12. Confirm you want to run the MDL-75322 Demo task task
      13. Confirm task executes successfully (you should see Success in task output)

      Plagiarism loading

      1. Create a new user
      2. Create a new course
      3. Enrol user as student on course
      4. Add a quiz
      5. Add an essay question to the quiz
      6. Log out
      7. Log in as user
      8. Navigate to, and attempt, quiz
      9. Enter some text in the essay question
      10. Press Finish attempt > Submit all and finish > Confirm
      11. Confirm you see the following text underneath essay answer on review page (so we know the plagiarism class is being loaded/called):

        'plagiarism_plugin_mdl75322'
        

      Show
      Scheduled tasks Log in as admin Install demo plugin mdl75322.zip (copy to site plagiarism/ directory) Navigate to General > Advanced features in site administration Select Enable plagiarism plugins and save changes Navigate to Server > Tasks > Scheduled tasks in site administration Confirm the MDL-75322 Demo task doesn't contain a Run now link and states the plugin is disabled Navigate to Plugins > Plagiarism > Manage plagiarism plugins in site administration Press Settings for the demo MDL-75322 Test plugin (The page will reload, but has enabled the plugin in the background) Navigate to Server > Tasks > Scheduled tasks in site administration Confirm presence of Run now link for the MDL-75322 Demo task task Press Run now Confirm you want to run the MDL-75322 Demo task task Confirm task executes successfully (you should see Success in task output) Plagiarism loading Create a new user Create a new course Enrol user as student on course Add a quiz Add an essay question to the quiz Log out Log in as user Navigate to, and attempt, quiz Enter some text in the essay question Press Finish attempt > Submit all and finish > Confirm Confirm you see the following text underneath essay answer on review page (so we know the plagiarism class is being loaded/called): 'plagiarism_plugin_mdl75322'

      As commented by danmarsden  in MDL-75308, and discussed at https://moodle.org/mod/forum/discuss.php?d=433943

      There appears to be no way to manually run a task belonging to a plagiarism plugin from the task management UI

            pholden Paul Holden
            pholden Paul Holden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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