moodle-mod_customcert icon indicating copy to clipboard operation
moodle-mod_customcert copied to clipboard

Certificates for all course participants will be created as soon as mail notifications are active

Open katlee890 opened this issue 10 months ago • 4 comments

Hello!

We are currently experience a kind of strange bug with the custom certificicate plugin. This only happens, when some kind of Email Notification to teachers or others is active. (We have not tried if Email Notifications to students would issue the same problem. Those notifications where turned off all the time.)

When one student issues his or her certificate, the certificates for all other students - who at that time would be eligable to create their certificate – are created at the same time. See attached image: Only dummy user 5 actively downloaded the certificate himself. All other course participants were automatically created one minute later.

Image

So if we issue a certificate in a course without any restrictions – the first generation of a student for their certificate creates the certificate for all other students. Time wise those get created with a time stamp exactly one minute later.

Same applies if we put the certificate under some restrictions. As for example if one student A meets these restricitons, but does not issue his/her own certificate themselves, the next student B to issue his/her certificate also initiates the generation of the certificate from student A.

This happens when:

  • Email teachers is active
  • And/or email other is active

It does not happen if none of those are active.

All our choosen Settings in the Options-Section are:

  • delivery options - Send the file Inline to the browsre
  • email Students - no
  • email teahcers - yes
  • email other - mailadress
  • allow anyone to verify a certificate - no
  • required minutes in course - 0
  • set protection - modify and copy checked
  • force certificate language - use user preference

So it "seems" that the email-notifications is kind of checking for all certificates that could be generated and just generates all of those?

Which - at least in our case - should not be the case, because like this the date or time stamp on the certificates does not match with the time a student creates their certificate for the first time.

Students need to create their certificate themselves and this should not automatically happen if any other students creates their certificate.

Has anyone ever had this bug or is there a solution?

Further information: We are using Moodle Version 4.1.16 and we upgraded the Plugin today to Version 4.1.8

Thanks, BR Katrin

katlee890 avatar Mar 20 '25 09:03 katlee890

We also have the same issue but haven't found any solution. We would have needed the feature for an certification of authorization. Does someone know a solution for this?

alexp1104 avatar Apr 01 '25 11:04 alexp1104

Hello! Thanks Alex for your contribution – does anyone else have this problem and know how to fix it? Or is it a bug in the plugin?

BR Katrin

katlee890 avatar Apr 28 '25 13:04 katlee890

The task that emails the certificate should not rely on another student downloading it.

Are you sure this is not related to https://github.com/mdjnelson/moodle-mod_customcert/issues/659 which has been fixed?

Thanks.

mdjnelson avatar Jun 08 '25 12:06 mdjnelson

same issue observed. the plugin disregards all completion conditions and just creates certificate as soon as student is enrolled

teo-eskilled avatar Jul 30 '25 23:07 teo-eskilled