Closed (fixed)
Project:
Profile Complete Percent
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jan 2012 at 15:15 UTC
Updated:
16 Jan 2012 at 02:22 UTC
I'm using Profile 2 and notice that the support for user picture does not appear to be working correctly. In my case it is telling me that I do not have a user picture, when actually I have.
I note that the link offered beneath the completion bar leads to the profile page, when in fact the user picture is controlled from the account settings. Perhaps this is a different configuration from the deprecated profile module upon which this module was originally ported?
Otherwise excellent work. Thank you
Comments
Comment #1
grasmash commentedYou're right, this bug originates with the deprecated profile module. The pcp_get_user_additional_values() function attempts to handle this, but it needs some work. I'll try to throw some time at it in the next few weeks, but contributions are always welcome!
Comment #2
grasmash commentedAfter some testing, I've found that pcp_get_user_additional_values() actually does return the correct value for the core profile. However, the 'user picture' field is incorrectly being evaluated for Profile2 PCP blocks, in which case the field is returned with a false negative. Is this your experience?
Comment #3
grasmash commentedThis issue has been fixed in the newest dev version.