Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct users to add a grading form if it doesn't exist #13

Open
djarran opened this issue Dec 4, 2023 · 0 comments
Open

Direct users to add a grading form if it doesn't exist #13

djarran opened this issue Dec 4, 2023 · 0 comments

Comments

@djarran
Copy link

djarran commented Dec 4, 2023

Describe the bug
Not a bug, but an edge case caused by user misconfiguration that could be handled to inform users.

While testing, some assignments were using the 'Rubric' grading method without having set an advanced grading form. However, the option to view the breakdown report the plugin provides is still shown. Since no grading form was created/assigned to the assignment, the get_grading_definition function in locallib.php errors when executed.

To Reproduce
Steps to reproduce the behavior:

  1. Create new course
  2. Add an assignment to module
  3. Set grading method to 'Rubric' or 'Marking Guide'
  4. Option to view breakdown report is shown
  5. Clicking this option displays error

Expected behavior
Direct and notify users to create an advanced grading form.

Screenshots
advancedgrading-error

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Browser: Firefox 120.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant