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

It is not possible to uninstall grading methods plugins

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In terminal visit the folder grade/grading/form.
      2. Run “git clone https://github.com/moodlerooms/moodle-gradingform_checklist checklist”.
      3. Install the plugin via the administration notification section.
      4. Create a course and enrol a student.
      5. Create an assignment and set ‘Grading method’ to ‘Checklist’.
      6. Save and display the assignment.
      7. On the ‘Advanced grading’ page, click ‘Define grading form from scratch’.
      8. Create a checklist and save.
      9. Publish the form as a new template.
      10. As a student make a submission.
      11. Grade the student and fill out the checklist form.
      12. Make note of the grade you gave the student.
      13. Uninstall the plugin by visiting ‘Site administration’ > ‘Plugins’ > ‘Plugins overview’. 
        1. Note: If you get the following message after uninstall:

          All data associated with the plugin gradingform_checklist has been deleted from the database. To prevent the plugin re-installing itself, its folder /path/to/moodle/grade/grading/form/checklist must be manually removed from your server now. Moodle itself cannot remove the folder due to write permissions.

          delete the "checklist" folder in "grade/grading/form" manually.

      14. Visit assignment and click on the user’s submission.
      15. Make sure the grades are preserved.
      16. Visit 'Assignment administration' > 'Advanced grading' and make sure 'Simple direct grading' is used.
      17. Reinstall the plugin (steps 1 to 3).
      18. Visit the same assignment and make sure the ‘checklist’ grading method is not used.
      19. Set the ‘Grading method’ to ‘Checklist’ for the assignment.
      20. Make sure the templates list is empty.
      Show
      In terminal visit the folder grade/grading/form. Run “git clone https://github.com/moodlerooms/moodle-gradingform_checklist checklist”. Install the plugin via the administration notification section. Create a course and enrol a student. Create an assignment and set ‘Grading method’ to ‘Checklist’. Save and display the assignment. On the ‘Advanced grading’ page, click ‘Define grading form from scratch’. Create a checklist and save. Publish the form as a new template. As a student make a submission. Grade the student and fill out the checklist form. Make note of the grade you gave the student. Uninstall the plugin by visiting ‘Site administration’ > ‘Plugins’ > ‘Plugins overview’.  Note: If you get the following message after uninstall: All data associated with the plugin gradingform_checklist has been deleted from the database. To prevent the plugin re-installing itself, its folder /path/to/moodle/grade/grading/form/checklist must be manually removed from your server now. Moodle itself cannot remove the folder due to write permissions. delete the " checklist " folder in " grade/grading/form " manually. Visit assignment and click on the user’s submission. Make sure the grades are preserved. Visit 'Assignment administration' > 'Advanced grading' and make sure 'Simple direct grading' is used. Reinstall the plugin (steps 1 to 3). Visit the same assignment and make sure the ‘checklist’ grading method is not used. Set the ‘Grading method’ to ‘Checklist’ for the assignment. Make sure the templates list is empty.
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull Master Branch:
      wip-MDL-45500-master

      Description

      Advanced grading methods cannot be uninstalled from Moodle using the Manage Plugins UI. If you install one from the plugins DB, there is no way to uninstall it.

      To reproduce install the checklist grading form (https://moodle.org/plugins/pluginversions.php?plugin=gradingform_checklist) and then navigate to Site Administration > Plugins> plugin overview and there will not be an uninstall link.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                5 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Jan/18