Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As per my understanding, user should get only the badge when I give him points greater than or equal "Userpoints Goal" with the same Userpoints term (Category) selected in badge setting. But, actually, user get all badges >= "Userpoints Goal" regardless the Category.
More explanation
Tester Badge settings:
- Userpoints: Tester (term item in Userpoints vocabulary)
- Userpoints Goal: 10
Supporter Badge settings:
- Userpoints: Supporter (term item in Userpoints vocabulary)
- Userpoints Goal: 10
Reproduce steps:
- Add points to user A
- Set Points = 10
- Select Category = Tester -> Save
- Save
Expected Results:
Only "Tester" badge should be added to user A, since this is the category selected while adding points.
Actual Results:
Both "Tester" and "Supporter" badges added to user A!!
Is this the normal behavior or this should be reported as bug? If it's the normal behavior, is there a way to tweak the code to change the behavior as per my expectation.
Comments
Comment #1
NancyDruSounds like a bug to me.
Comment #2
shabana.navas CreditAttribution: shabana.navas commentedThis is a Userpoints issue.