The {role} table no longer exists in D8, but the user_schema() declaration for {users_roles} still contains a foreign key declaration to it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fgm’s picture

Component: field system » user.module
Status: Active » Needs review
FileSize
1.09 KB

And associated patch.

Berdir’s picture

Status: Needs review » Needs work
+++ b/core/modules/user/user.install
@@ -210,7 +210,7 @@ function user_schema() {
-        'description' => 'Primary Key: {role}.rid for role.',
+        'description' => 'Primary Key: (config) rid for role.',

I don't think the description makes much sense. Maybe just "ID of the role." or something like that?

fgm’s picture

Status: Needs work » Needs review
FileSize
1.08 KB

If you think so...

Berdir’s picture

Status: Needs review » Reviewed & tested by the community

Works for me.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 4681b76 and pushed to 8.x. Thanks!

Status: Fixed » Closed (fixed)

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