Sorry not to post against a module but I didn't know where this belonged...

I have roughly 500 users on my site (http://ssf.uk.com ), assigned to 3 different Roles. Recently, one of the Roles (sadly the main one) has disappeared as an option on the User Edit page (for admin and everyone), and in Views and everywhere else. Users who were under that role are still assigned (until you uncheck it), the Role ID is correct in the database and settings are all correct at admin/users/roles.

Modules that may have caused this are User Relationships, Real Names, Activity or Content Profile, but it's difficult to tell.

In short, is there a table or cache that can be cleared or fixed in the relationship to ensure a Role isn't broken

thanks

Comments

ilfelice’s picture

I am also seeing this problem after upgrading to 6.13. Not using any of the above-mentioned modules (User Relationships, Real Names, Activity or Content Profile). The only profile related non-core module that we are using is "Profile Complete Percentage"; however, disabling this module made no difference.

We have 8 roles in addition to the default ones (anonymous and authenticated user). Of those 8, only one disappears from the profile editing window, and the only difference that I see from this one as compared to the others is that the role name has a hyphen in it.

wilgrace’s picture

I never managed to fix this - the role is sitting there redundant. It didn't have a hyphen in it, so don't know what caused it.

In the end I created a new role then ran a SQL query through phpmyadmin that assigned all users from the old role to the new role. Did the job - not ideal

good luck!

gbaudoin’s picture

Status: Active » Closed (cannot reproduce)

Was there something specific you did for the role to disappear ? Like an upgrade ?