Badges are awarded incorrectly and automatically to every enrolled user in a course

Badges are awarded incorrectly and automatically to every enrolled user in a course

by Dirk Meyer -
Number of replies: 1

We have issue several badges in a course. During development, the badge is not enabled. As soon as the badge is enabled, all enrolled users receive the badge. The criteria is this:

This badge has to be awarded by a user with the following role:

  • Teacher

This creates a real issue as we would expect to be able to manually issue these badges, which has worked in the past. The Moodle version is 2.8

I am hoping someone could help us resolve this especially since MDL-43230 is not resolved.


Thank you


Average of ratings: -
In reply to Dirk Meyer

Re: Badges are awarded incorrectly and automatically to every enrolled user in a course

by Dirk Meyer -

We are able to remove incorrectly issued badges by going directly into the database.

The problem remains that all users in a course receive enabled badges automatically without them having done anything or even without a teacher issuing them manually.