Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
profile.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2005 at 16:56 UTC
Updated:
7 Mar 2006 at 08:46 UTC
Jump to comment: Most recent file
Comments
Comment #1
munga commentedThe attached patch should fix the problem ...
Comment #2
munga commentedReg that pacth I've just submitted ...
I'm not sure if it's the right way to solve the problem and
I haven't managed to make the category disappear if all fields in that
category are hidden ... I think the category tab is set in user.module.
Comment #3
Steve Dondley commentedI don't understand this bug report. Why should a hidden or private field be removed from the user edit form? User's should always be able to edit these fields regardless of the "Visibility" setting.
Comment #4
merlinofchaos commentedBecause 'hidden' fields are not meant to be user editable, but should only be edited by admins, modules or themes.
It's useful for things like Titles that admins can give users. I don't want users editing their titles if they have meaning, for example!
Comment #5
Wesley Tanaka commentedwhat #4 says
setting patch status for patch in #1
Comment #6
Steve Dondley commentedCode for form elements should span several lines instead of being bunched onto one.
Comment #7
munga commentednew patch attached. This one contains only the small patch for the hidden files (and
this time in the correct order). I left any other modifications out.
p
Comment #8
yched commentedI'd like very much this bug to be fixed :-)
Could you provide an update of your patch against current head ?
Comment #9
darius commentedThe issue is real (I just verified this with the latest CVS version), but the patch does not apply cleanly anymore. Also, the related issue could be addressed here, too: admins SHOULD see the hidden fields in VIEWING user profile (currently, the issue only addresses what happens in EDITING user profile).
Darius
P.S. I removed "private" from the title because this only concerns "hidden" fields.
Comment #10
yched commentedOK, I updated the last patch submitted by munga. It is now synched with current HEAD.
I also spanned the code for form elements on several lines as Steven requested.
Seems to work for me, but I haven't done extensive testing.
Comment #11
rkerr commentedBug still exists but patch does not apply.
""
patching file modules/profile.module
patch: **** malformed patch at line 102: @@ -400,11 +446,17 @@
""
Comment #12
rkerr commentedUpdated patch against most recent HEAD.
Comment #13
Amazon commentedI created a new profile field in a profile.
I could see the profile field as admin for a hidden profile.
I could not see if as an authenticated user looking at my own profile.
I only tested after the patch was applied, I did not test without the patch.
Kieran
Comment #14
moshe weitzman commentedkieran tested this so lets move to RTC
Comment #15
dries commentedCommitted to HEAD. Thanks.
Comment #16
(not verified) commented