Description

when using with user Badges, point requirements will not save in Database. The badges upload and appear fine, but when trying to set up the points needed for each badge it states.

* Inserted new image
* There was a problem saving the badge information into the database. THIS IS THE ISSUE
* Added all users with badges as well

It will save one badge with points defined, any newly added badges with point return and error. I checked permissions, tried clearing cache etc and no luck. Any insight would be greatly appreciated.

Comments

jredding’s picture

Project: User Points » User Points Contributed modules
Version: 6.x-1.0 » 6.x-1.x-dev
Component: Code: userpoints API » Code: userpoints_badges
Priority: Critical » Normal

reclassifying to the correct module. This issue is with userpoints_badges.

venusrising’s picture

Priority: Normal » Critical

Userpoints_badges is a contributed module of user points contributed modules. More detail below

We are using user badges 6x-1.4
user points contributed modules userpoints_badges
and userpoints.
When uploading the images via the user badge Images upload without incident. The issue arises when we try go to EDIT USER BADGES so we can add the:
name
point requirement
url link to info page
weight etc.
The module will only save One badge (we have 5 we would like to create) and when you try to add another badge nothing happens except for the error
"There was a problem saving the badge information into the database." What we did notice is that the badge that is created will take on the NEW point value of the one we try to create after it i.e. badge created WHITE value 100 then try to create badge BLACK value 1000 what will happen is you will not visually see a change UNTIL you open the White badge and it ow has a value of 1000. Weird?

venusrising’s picture

Status: Active » Reviewed & tested by the community
venusrising’s picture

Status: Reviewed & tested by the community » Closed (fixed)