Hi,
Maybe I'm not understanding something fundamental about the function of userpoints expiration, but the behavior makes no sense to me.
I have two categories for userpoints: A and B. I enabled expiration after 1 day. So at day 0, let's say a user has these points:
A: 3
B: 4
However, on day 1, the expiration points do not expire per category. Since I had to choose a default userpoints category, I picked "Uncategorized". So on day 1, the user's points look like this:
A: 3
B: 4
Uncategorized: -7
This seems totally backwards. Wouldn't it be better to expire points from category A by doing a negative credit back to category A, and expire points from B back to B so everything ends up at 0 again?
Thanks for the help.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | expiration_of_categorized-1477900.patch | 906 bytes | webadpro |
Comments
Comment #1
vadim.eremeev commentedHello,
+1
I have exactly the same issue. I have two types of user points (2 taxonomy categories) and when points in one of category are expired - module create expire transaction with tid = 0 but not with original tid.
Regards,
Vadim
Comment #2
webadpro commentedI'm facing the exact same issue. This sure is a bug and needs to be fixed. I'm also using the latest DEV Version.
Comment #3
webadpro commentedI have fixed it. Please review the patch.
Comment #4
webadpro commentedPatch
Comment #5
manuel.adanClosing this as outdated, 6.x version is no longer maintained.