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

mykle’s picture

steps 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.

ricabrantes’s picture

Version: 5.2 » 5.x-dev
Status: Active » Fixed

hi,
this bug is fixed in D6.x-dev, but still active in D5.x-dev..

mykle’s picture

Status: Fixed » Active

i am not using D6, so that doesn't do me any good.

webchick’s picture

Status: Active » Closed (duplicate)

I believe this is a duplicate with http://drupal.org/node/123556