I found that the params variable that was passing to the userpoints_userpointapi did not include the entity_id of the quiz. This results in the hook params having a null value for the entity_id reported.

Here is a patch I made to include this value in the passed data

CommentFileSizeAuthor
quiz-userpoints-entity-id.patch571 bytespblissmt
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

djdevin’s picture

Component: Code - other » Code - Quiz core
Issue summary: View changes
Status: Active » Closed (outdated)

This issue is being closed because it was filed against a version that is no longer supported.

If the issue still persists in the latest version of Quiz, please open a new issue.