Configuration >> Account settings >> Manage Fields >> Add new field and mark it as ":Required"
Log out as administrator;
Create new user account;
The "required" fields are not requested by Drupal;
it should not be possible to create a new account without required fields being mandated by Drupal and supplied by the user requesting the new account.

Comments

fago’s picture

Version: 7.0-alpha4 » 7.x-dev
Priority: Normal » Major

Agreed, this is inconsistent. Once the administrator e.g. wants to edit such an account, he would have to provide values for the required fields then. That's for sure not intuitive that way.

fago’s picture

Status: Active » Closed (duplicate)
fago’s picture

Status: Closed (duplicate) » Active

re-opend as #501408: Display user fields on registration form is considered a new feature and so d8 stuff. This issue still appears in d7 though.

Read #1 for what's the problem with the current situation. I ran over this with content profile too. Urging administrators to fill out user-data they cannot or might not know is just unacceptable for most production sites.

fago’s picture

Steps to reproduce:
* add an required field to the user account
* register as a new user, the account now misses the required field value
* as administrator, try to edit the account. You cannot without providing the missing required field value.

lotyrin’s picture

I really don't see a way to solve this without #501408: Display user fields on registration form, which already has a patch. Perhaps we should reclassify it, and reconsider pushing it off until D8?

EvanDonovan’s picture

I would have to agree with lotyrin on this one. I don't think that the patch on #501408: Display user fields on registration form is favored by yched or the others who work on Field API, though.

EvanDonovan’s picture

There is a new patch on #501408: Display user fields on registration form, please review.

PieterDC’s picture

Why wouldn't it be favored (by those who work on Field API) ?

Ps: yched just posted an extended patch.

EvanDonovan’s picture

@PieterDC: I was talking about the earlier patch, which is why I commented again to say that the new patch is the one written by yched.

chx’s picture

Status: Active » Closed (duplicate)

I am closing this as a duplicate of the other one because #501408-96: Display user fields on registration form says

without this feature, required fields on users make no sense, and will result in data anomalies. So for this reason and only this reason...

Committed #93 to HEAD.

PieterDC’s picture

You're right chx.