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

For example, having 2 badges: Tester and Supporter, with the below settings:

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:

  1. Add points to user A
  2. Set Points = 10
  3. Select Category = Tester -> Save
  4. 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

NancyDru’s picture

Sounds like a bug to me.

shabana.navas’s picture

Status: Active » Closed (won't fix)

This is a Userpoints issue.