Using Drupal 8 Beta 1 on Ubuntu 14.04 Linux.

I create a new field for a user's account by doing this:

Manage->Configuration->AccountSettings->ManageFields->
Add new field: "NewField"
FieldType: Text(formatted)
--> Save
Allowed number of values: Limited, 1
Maximum length: 21
--> Save field settings
Label: NewField
Help text: Help me
Required: Check it
Default Value: , (i leave it blank)
Text format: Basic HTML
-->SaveSettings

I then see if a user, the administrator, can edit his profile and add a value for this NewField.
From Home Page--> My Account-->Edit-->NewField: "some data"-->Save

I get a messages of:
"NewField field is required"
(as if I never entered any data, but I did.)

If I use PhpMyAdmin to peruse the MySQL database, I do see this table:
user__field_newfield
It has zero rows of data in it.

[Aside: Previously, I have added a field to the user bundle programmatically, and I have
the same issue. I thought it was cause I did it programmatically, that I did something
wrong, but then I did the manual steps above to see if it would work, but it's
similarly broken.
This used to work during one(or more) of the Drupal Alpha versions. Not
sure exactly which one.
]

Comments

swentel’s picture

Version: 8.0.0-beta1 » 8.0.x-dev
Priority: Normal » Major

Yeah, could reproduce - pretty annoying

gmoore777’s picture

I also cannot change the username, or password. The form accepts my save, but if I logout, then log in,
it tells me after 5 failed attempts that I am locked out.
I can then use the "one-time" link in the email that Drupal sends me to log in,
but if I change the password, like I'm supposed to do, it isn't taking it.
(or it's taking NULL as the password)
In the mean time, as the admin, during that "one-time" link log in, I did make another
user have administration role, so that I can log in from other machines and be able
to administer my website.

swentel’s picture

Status: Active » Closed (duplicate)