Closed (fixed)
Project:
Profile Complete Percent
Version:
6.x-2.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2011 at 05:29 UTC
Updated:
30 Jan 2012 at 06:00 UTC
Hi All
Problem - even when my user terms are filled up completely, PCP still showed the profile as incomplete - giving the user term field as incomplete.
I found the bug in the pcp_get_user_additional_values function. Please find attached a patch which fixes this issue.
Thx
suchi
| Comment | File | Size | Author |
|---|---|---|---|
| pcp.module.patch | 700 bytes | gargsuchi |
Comments
Comment #1
grasmash commentedThanks for submitting this patch. Unfortunately, it doesn't seem to be properly formed. For instance, it instructs that "foreach ($user_terms_vocabs as $vid) {" should be removed, but that line doesn't exist in pcp.module.
Can you please roll this patch against 7.x-1.x branch of the git repository? That matches the current 7.x-dev release.
Thanks!
Comment #2
grasmash commentedMy bad, didn't realize this what a 6.x issue! I'll roll this patch against the right version.
Comment #3
grasmash commentedcommitted and pushed to dev version 6.x-2.x
Comment #4
BarisW commentedHi Matthew, great work!
Just on a side note: when an issue is solved, please mark them Fixed and don't close them immediately. Doing so makes that they don't show up on the dashboard page anymore. The Drupal bot will close them automatically after two weeks of inactivity.