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

Grade Items categories options are not replicated on new or duplicated moodle courses. #540

Open
darevalo1 opened this issue Mar 10, 2023 · 3 comments

Comments

@darevalo1
Copy link

Description
Hi CustomCert team
The grade category items are not replicated on the Custom certificate activities when copy, backup/restore or duplicate a course.

Scope of Issue
When trying to copy a original course with grade category items added to a custom certificate, the duplicated or new course restored, the grade item category on the certificate reset to default category grade setting.

We know this custom certificate plugins is developed by an external developer, we do not know if openlms can reach this issue for a fix or inprove this issue.

Steps to Replicate/Observe

  1. Go to the Gradebook configuration on your course.
  2. Make sure you have any category grade created on the gradebook.
    3.Have a any custom certificate created.
  3. Make sure you have added the item "grade element" to the certificate.
  4. Go to the grade element configuration created on step 4.
  5. Select your category grade created on step 2 on the "grade item" option.
  6. Save your custom certificate configuration.
  7. Copy, make a backup and restore it into a new course (it does not matter if with or not user information).
  8. Restore the new course.
  9. Go to the new course and check the grade item.
  10. You will see in the new course, the item grade on the certificate is set to the default grade category option "course grade" instead your grade category. selected on the original course.

OBSERVED BEHAVIOR
The grade item is set to default setting and the teacher/admin/manager must to reconfigurate manually their category grade again in the new or new courses.

-As additional behavior observed, of the original and the new course have enrolled the same student. the student will see his grades on the custom cert from the original course through the new certificate on the duplicated course, (for this behavior, the backup or copy course should not include user information and enrollments). Once the behavior is observed, when the teacher update the grade item on the certificate, the certificate will show the correct grades on the respective new course.

EXPECTED BEHAVIOR
The grades items category options should be duplicated aswell the other items on the custom certificate from the original course because all the gradebook setup is copied equal than the original course.

Any conditions not detailed above which are necessary to replicate (settings that must be enabled) etc.
Performed on Moodle 3.11, Moodle 4.0 nad OpenLMS 4.0.

attached screenshots of the original and duplicated certificate watching the category original grade item and the second screenshot showing the grade category by default.

Troubleshooting steps performed (in detail)
The grade items categories on the custom certifictae should be set manually on the new course when restored or duplicated course.

original course
original course

duplicated course
duplicated course

@darevalo1
Copy link
Author

Hi @mdjnelson, we have reported this issue some weeks ago. We hope you could check this issue soon.
Thank you very much!

@mdjnelson
Copy link
Owner

Hi @darevalo1 I have been working on a bunch of critical issues and have not got round to this. Please keep in mind I do this work in my spare time so can not provide a time limit on when I can look at this.

@mdjnelson
Copy link
Owner

mdjnelson commented Mar 19, 2024

Are you able to try this now? I recently fixed #582 which may be the issue here. It is not in the plugins DB yet so you will need to pull from git.

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

2 participants