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

If a certifcate is viewed from 'Issued certificate' screen, it changes on certificate to that of the viewer, rather than the recipient

Open davefoord opened this issue 1 year ago • 2 comments

Describe the bug I have noticed in the past that if I as admin use the log in as feature, and then access a users certificate, it changes the name on ther certificate to my name not the name of the recipient (and changes it permanently) - however I have just realised that if a tutor goes to the 'view issued certificates' tab within a certificate and views a certificate it does the same thing, which is obvioulsy not good.

Moodle Version(s) I have just updated the simple certificate plugin to 2.2.11 (2020091503) and we are using Moodle 4.1.3+ (Build: 20230427)

To Reproduce

  1. Steps to reproduce the behavior:
  2. Create a certificate that contains the wildcards {FIRSTNAME} {LASTNAME} in it somewhere
  3. Log in as a student and access that certificate - check it displays correctly
  4. Log in as a tutor and visit the 'issued certificates' tab and click on the link for that certificate - see if it displays the students name or the tutor name
  5. Log back in as the student and revist the certificate to see if it is still showing the wrong name

davefoord avatar Nov 08 '23 07:11 davefoord

Isso ocorre se o plugin filtercodes estiver ativo

martaoliveirasi avatar Nov 24 '23 03:11 martaoliveirasi

Could you make the updated plugin available?

reisdiegoss avatar Jan 22 '24 14:01 reisdiegoss