Closed (fixed)
Project:
Profile Complete Percent
Version:
6.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2010 at 18:26 UTC
Updated:
26 Mar 2011 at 09:07 UTC
Jump to comment: Most recent file
Comments
Comment #1
okokokok commentedThe block is not working for me and I'm getting some notices:
Notice: Undefined variable: nextfield in pcp_get_complete_percentage_data() (line 165 of /var/www/example.org/htdocs/sites/all/modules/custom/pcp/pcp.module).
Notice: Undefined variable: nextfield_fid in pcp_get_complete_percentage_data() (line 166 of /var/www/example.org/htdocs/sites/all/modules/custom/pcp/pcp.module).
Notice: Undefined variable: nextpercent in pcp_get_complete_percentage_data() (line 167 of /var/www/example.org/htdocs/sites/all/modules/custom/pcp/pcp.module).
Notice: Undefined variable: nextname in pcp_get_complete_percentage_data() (line 168 of /var/www/example.org/htdocs/sites/all/modules/custom/pcp/pcp.module).
Comment #2
okokokok commentedAlready better when actually checking "Make required for PCP module" for some fields. Still, no block and these notices:
Notice: Undefined index: 1 in pcp_get_complete_percentage_data() (line 137 of /var/www/example.org/htdocs/sites/all/modules/custom/pcp/pcp.module).
Notice: Undefined index: in pcp_get_complete_percentage_data() (line 139 of /var/www/example.org/htdocs/sites/all/modules/custom/pcp/pcp.module).
Notice: Undefined index: 1 in pcp_get_complete_percentage_data() (line 140 of /var/www/example.org/htdocs/sites/all/modules/custom/pcp/pcp.module).
Comment #3
good_man commentedCan you tell if it's still with this version in the attachment?
Comment #4
good_man commentedThe previous version contains several bugs, will try to solve them and publish a new one soon.
Comment #5
good_man commented@BarisW, I've fixed the bugs above, do you prefer a tar or patch to roll a D7 version?
Comment #6
good_man commentedOk here is a patch to commit and tarball for users to use directly of this module.
Fixed #2 bugs, and some other bugs & logics.
Comment #7
BarisW commentedThanks for your great work. I'll test it ASAP!
BarisW
Comment #8
BarisW commentedComment #9
good_man commentedsorry forgot the review ;) and the patch is against current head.
Comment #10
BenK commentedSubscribing
Comment #11
BarisW commentedI've tested the module and it looks great. It had a few small bugs which I've fixed at the #drupaldevdays.
- Delete the database entry when a field is deleted. Already in D6 version, but not in this one.
- The block still shows, even if all fields are filled in. Fixed it.
- Added a hook_uninstall() to delete all variables
- Minor typo's, added a t() wrapper around a string etc.
I think it's finished now. I will add a release within an hour.
Comment #12
BarisW commentedI've released a 7.x-1.x-dev version.
See: http://drupal.org/node/1051084
Will be build by the Drupal packager within 12 hours.
Then please test. If you don't see any problems, I'll release a 1.0 :)
Comment #13
BarisW commentedComment #14
good_man commentedsuper! that was fast :)
Comment #15
BarisW commentedReleased! Thanks all ;)
http://drupal.org/node/1052066
Comment #16
cmsdeveloping commentedWarning: Division by zero in pcp_get_complete_percentage_data() (line 155.........
i have changed the module with new released link above....but i receve this error.... :(
Comment #17
good_man commentedCan you please provide more info how this happened, and open a new issue so we can keep this issue only for D7 release.
Comment #18
BarisW commentedBy the way: you may have forgotten to first add some profile fields? Could this be the problem?
*reminds me to add a notice to the admin page to check if there are any profile fields available*