I installed 2 servers with Drupal 9.1 and I updated to Drupal 9.2
I just noticed that there are problems with the modification of the administrator account "user 1".
In the list of users, the role of the admin account is "Administrator", but if I modify the account, only the "Authenticated user" box is checked. If I check the "Administrator" box and register the account, no changes are registered.
If I add user picture for admin, it doesn't work, when I register the account, the photo is not remembered.
The other accounts have no problems, only User 1's has these problems.
If I change the username of user 1, it is changed, but not the role and not the photo.
Really, I don't understand a thing. There is no error in the Drupal logs.
https://www.drupal.org/forum/support/post-installation/2021-06-26/cannot...
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screen Shot 2021-07-10 at 5.06.47 PM.png | 39.44 KB | pameeela |
| #4 | Screen Shot 2021-07-10 at 5.06.37 PM.png | 40.65 KB | pameeela |
Comments
Comment #2
zenimagine commentedComment #3
cilefen commentedIt is probably related to #540008: Add a container parameter that can remove the special behavior of UID#1 in some way.
Comment #4
pameeela commentedAs several people noted in the forum post, I can't reproduce this in vanilla core:

And I would imagine there are tests for this functionality. You haven't done anything to modify core post-install, like install any contrib modules or add any custom code?
Comment #5
zenimagine commentedI have just done a new installation at my host "Infomaniak" and there is the same problem. However it works fine on simplytest.me
What can create this problem?
Comment #8
kristen polThanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.
As part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)". This issue was marked "Postponed (maintainer needs more info)" more than a year ago.
Like @pameeela in #4, I also was unable to reproduce the issue. I tested with the version of core from when this issue was filed with the following steps:
Since neither I nor @pameeela could reproduce this issue and since the issue was postponed more than a year ago, I'm marking the issue "Closed (cannot reproduce)". If @zenimagine or anyone can provide complete steps to reproduce the issue (starting from "Install Drupal core"), document those steps in the issue summary and set the issue status back to "Active".
Thanks!