Using v5.x-3.5
Points Moderation "on"

When I (as administrator) edit another user's article, two rows are inserted into the userpoints_txn table. The first, tagged "Owership Loss" inserts a negative number (deducting points from the user); the second, tagged "Ownership Gain" adds the points back into the user's account.

See attached.

Thanks,
Kevin

CommentFileSizeAuthor
gain_loss.gif7.56 KBkmillecam

Comments

kbahey’s picture

Component: Code: userpoints API » Code: userpoints_basic

I think this is by design in case the ownership of a node changes. When the ownership did not change, the two rows cancel each other and the net is zero, so no ill effect there.

jredding’s picture

I didn't intend for this to be by design but I'm not exhibiting this in my local install so I'll have to figure out what is going on.
There should only be a debit/credit if the ownership changes. If its the same owner/author then nothing should happen

Do you have the 2.x bug fix checkbox enabled?

kmillecam’s picture

Thanks Jacob.

I do not have the 2.x bug fix checkbox enabled ... looked kinda scary ;-)

These are new submissions (were not added in the 2.x era).

I'll see if I can repro on my local environment.

jredding’s picture

ya check your local environment b/c its not happening for me here on my local environment.

yes the 2.x bug fix thing is kinda scary.. I'm hoping we can phase that out in future versions, its like a shaky bridge to me.

berdir’s picture

Status: Active » Closed (won't fix)

Sorry for spamming the participants in this issue. Due to the release of Drupal 7 and the lack of time from the maintainers, I'm closing all remaining 5.x issues for Userpoints.

Feel free to re-open this issue or create a new one for 6.x or even better 7.x if this bug is still open or feature is missing for these versions.