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...

Comments

zenimagine created an issue. See original summary.

zenimagine’s picture

Category: Support request » Bug report
Priority: Normal » Major
Issue summary: View changes
cilefen’s picture

pameeela’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)
Issue tags: +Bug Smash Initiative
StatusFileSize
new40.65 KB
new39.44 KB

As 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?

zenimagine’s picture

I 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?

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.1.10 (June 4, 2021) and Drupal 9.2.10 (November 24, 2021) were the last bugfix releases of those minor version series. Drupal 9 bug reports should be targeted for the 9.3.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

kristen pol’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
StatusFileSize
new63.37 KB
new205.4 KB

Thanks 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:

  1. Installed Drupal 9.2
  2. Edited user 1 account
  3. See Administrator role as expected
  4. Added profile picture and saved
  5. Profile picture showed up as expected

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!