Download & Extend

Hidden profile fields can not be required or registration

Project:Drupal core
Version:5.x-dev
Component:profile.module
Category:bug report
Priority:normal
Assigned:chx
Status:closed (fixed)

Issue Summary

I created four profile-fields under the same category. On creation of the fields, I set the options "Visibility = Hidden", "The user must enter a value. " and "Visible in user registration form." on each field to be true. Neither on registration nor on visiting my profile as admin (there is no category tab) those additional fields are visible. The fields are created in the datebase-table "profile_fields".

Attached, you will find some screenshots.

AttachmentSizeStatusTest resultOperations
5_0.jpg178.38 KBIgnored: Check issue status.NoneNone

Comments

#1

Title:No display of additional profile-fields» Hidden profile fields can not be required or registration
Assigned to:viadimezzo» chx
Status:active» needs review
AttachmentSizeStatusTest resultOperations
hidden_profile-176503-1.patch793 bytesIgnored: Check issue status.NoneNone

#2

Patch looks nice, although there is a dot missing from the end of the first message. (There was a time when we did not use to have dots at the end of messages, I wonder what the current practice is). Also I would write "cannot" instead of "can not", but this should be checked by a native English speaker, I guess.

#3

Status:needs review» reviewed & tested by the community

I was looking through and saw a lot of dots on the ends of messages, so I added one to the first message. I changed can not to cannot and the second message reads

A hidden field cannot be set to visible on the user registration form.

instead of "set to be visible."

Here's the patch, should be ready to go.

AttachmentSizeStatusTest resultOperations
hidden_profile-2.patch982 bytesIgnored: Check issue status.NoneNone

#4

Version:6.x-dev» 5.x-dev
Status:reviewed & tested by the community» patch (to be ported)

Thanks, committed. I guess this needs to be backported.

#5

Status:patch (to be ported)» needs review

backported.

AttachmentSizeStatusTest resultOperations
20080113.profile-hidden-fields.patch963 bytesIgnored: Check issue status.NoneNone

#6

Status:needs review» fixed

Committed to 5.x.

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here