Closed (duplicate)
Project:
User Points Contributed modules
Version:
5.x-3.x-dev
Component:
Code: user2userpoints
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2008 at 17:24 UTC
Updated:
2 Jun 2008 at 19:33 UTC
Comments
Comment #1
kbahey commentedhttp://drupal.org/node/265714
Comment #2
avpadernoIt's not exactly a duplicate, if it refers to a different module.
Comment #3
kbahey commentedNo it is duplicate.
Only after the API is changed would this need to be done.
So far, the modules are using the right parameter name.
Comment #4
avpadernoThe parameter
$params['event']is wrong becauseuserpoints_userpoints()uses$params['operation'].Using
$params['operation']will cause any transictions passed touserpoints_userpoints()to be recorded in the DB table with aNULLvalue.I see two different bugs here: a "bug" in the documentation put in the README.txt file, and a bug in any module which passes
$params['event']touserpoints_userpoints().Both must be resolved, but both exist.
Comment #5
kbahey commentedSee the duplicate issue.
We will fix things in the API first. Review the patch there.
After this is fixed, we can do one issue for all of userpoints_contrib modules in one go (single patch), since it is the same change for all the modules.
Don't change statuses on the duplicate issues anymore.