Open VictorBenet opened 3 years ago
Can you please provide replication steps?
What version of Moodle and the plugin are you using?
Just noting this may be due to https://github.com/mdjnelson/moodle-mod_customcert/issues/423.
We're using moodle 3.11, to be precise: version 3.11+ (Build: 20210617) (2021051700.07) Whenever custom profile fields are added to the show user identity, the issue appears:
When the fields are removed, the issue is no longer present, when enabling the debug mode developer we can see the query posted on top and you can see it misses the uf1d_1 table in the FROM clause and the proper join
Thanks @VictorBenet, will take a look when I get the chance. If you can provide a patch that would be great.
I tried to replicate this and it all works fine in 3.11, 3.10 and 3.9 which are the currently supported versions. Please update to resolve this.
Reopened due to https://moodle.org/mod/forum/discuss.php?d=428088.
Closing again. See https://github.com/mdjnelson/moodle-mod_customcert/issues/465 which has a solution.
When reviewing the certificate for a given course is showing an error:
With the debug mode we got the following:
Seems it is not getting the custom fields added to the profile