Closed (duplicate)
Project:
Drupal core
Version:
5.x-dev
Component:
profile.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2007 at 18:40 UTC
Updated:
25 Apr 2008 at 19:38 UTC
profile lets the admin define some profile fields as 'hidden', which is great --
but if those profile fields have a category, the category tab isn't hidden at all.
instead, it gives a blank form.
perhaps profile should let you define a whole category as 'hidden' and then
the profile_user('category', ...) hook could determine the context and return
only what should be seen.
or else maybe user_edit needs to do a db query to check each category and
determine whether it should be shown in the current context.
or else some other thing. i'm not a developer, i just play one on the internet.
Comments
Comment #1
mykle commentedsteps to reproduce:
1) as admin, create some profile fields in categories A, B, and C.
2) set the visibility of the profile fields in category C to 'hidden'.
3) log out, log in as user, edit your user profile.
4) observe the category C tag. click it. but ... it's empty! wtf?
5) weep, gnash teeth, etc.
Comment #2
ricabrantes commentedhi,
this bug is fixed in D6.x-dev, but still active in D5.x-dev..
Comment #3
mykle commentedi am not using D6, so that doesn't do me any good.
Comment #4
webchickI believe this is a duplicate with http://drupal.org/node/123556