Closed (duplicate)
Project:
User Points
Version:
6.x-1.2
Component:
Code: userpoints
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2007 at 06:10 UTC
Updated:
7 Dec 2011 at 17:18 UTC
On nodes that are using Workflow, when it changes state eg from published to unpublished or to or from front page the user is receiving extra points. The transition from one state to the other is done via the actions and workflow modules.
Comments
Comment #1
yngens commentedsame problem here. i use fasttoggle module to promote or demote nodes to front page and on every action userpoints.module gives extra points to the relevant node authors.
Comment #2
FatPitchFinancials commentedI can confirm that User Points is awarding points for node-type creation ("Points for posting a Storylink" in my case) every time a node changes from published to front page or to unpublished. I am not using workflow or fasttoggle modules, so this seems to be a User Points issue.
I am using Actions, Voting Actions, and Voting Up Down. Surprisingly, User Points seems to ignore my point settings for "Points for actions (requires the Actions module)" even though points seem to be granted every time a node changes state.
Based on issue #160237 I tried version 2.2 of User Points on a clean install of Drupal and points stopped being granted for each phase change and "Points for actions (requires the Actions module)" seemed to be recognized. When I upgraded back up to 2.14 the problem returned. Tonight I'm going to try and incrementally upgrade from User Points 2.2 to 2.3 to 2.4 and up to see where this problem starts.
I've seen many issue reports under Vote Up Down and Voting Actions regarding this issue. However, I'm pretty sure it is a bug with User Points.
Comment #3
FatPitchFinancials commentedThe problem with points being awarded to the author for nodes being promoted to the front page (and also unpublished) during a voting action seems to occur between versions 2.7 and 2.8.
With version 2.7 no points were awared to the author when I voted on a storylink and it got promoted to the front page. However, with version 2.8 the author was awarded 3 points, which is the number of points users should be awarded for creating a storylink.
Comment #4
jredding commentedWithout the workflow module userpoints_basic works as expected. On version 2.14 and tested on the 5--3 branch.
Points were awarded when a node was "inserted" regardless of published state and points were correctly moved from one author to the next when the author was modified.
At this point I see no bug.
Comment #5
FatPitchFinancials commentedI also notice that points are awarded to the author regardless of the published state.
However, the problem is that points are awarded to the author every time a node changes published state or is moved on or off the front page due to a voting action. I don't believe this is the desired behavior intended by the module's author.
When you demote a node from published to unpublished the author receives points again for creating the node. For example, a creator of a node gets 3 points for creating the node. The node is then demoted by a voting action (i.e., bad node) and the author gets another 3 points. If anything, the author should have lost 3 points.
In versions 2.7 or lower of userpoints, this problem does not occur.
Thanks for considering my observations.
Comment #6
jredding commentedAre these two items the same?
http://drupal.org/project/comments/add/160237
Comment #7
jredding commentedI agree with you in that this isn't the desirable behavior unfortunately the problem is that this does not occur on a standard install of Drupal + userpoints. There is a separate module in play here. I believe this module is workflow but because I don't have the same environment as you I can't confirm this.
In short I can't duplicate this error thus I can't even attempt to fix it.
If you have a dev site can you disable workflow and retest the scenario, also disable other voting modules that you have installed.
Comment #8
jredding commentedMarking as duplicate to consolidate discussions
Comment #9
jredding commentedMarking as duplicate to consolidate discussions
http://drupal.org/node/183520
Comment #10
ardnet commentedHi all,
sorry, is this issue fixed already or is there any update for this?
Because apparently it happen the same thing with the latest version of Userpoint (6.x-1.1), which is not what i'm expected.
Thanks
Regards,
Ardi
Comment #11
apoc1 commentedThis bug keeps persisting; Changing workflow statusses causes to substract points from one user and give the same amount to another user. It is possible a contrib userpoints modules causes this, but I can't found out which one.
Any suggestions?