Problem/Motivation
The d7_user role plugin retrieves roles for each user as an array of role names, keyed by role ID. Because D6/7 roles are identified only by their numeric ID, This makes it impossible for later migrations to look up the role(s) assigned to a user, and can cause fatal errors.
Proposed Resolution
The plugin should retrieve roles the same way the d6_user plugin does -- as an array of numeric IDs.
Remaining Tasks
Patch, review, commit. Post-haste!
API/UI Changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2562081-2.patch | 1.59 KB | phenaproxima |
Comments
Comment #2
phenaproximaInitial patch, with adjusted tests.
Comment #5
mikeryanlgtm - lest someone else question why there isn't a new test to identify the problem, I can see that the existing test was malformed to expect the wrong structure as it was implemented.
Comment #6
webchickOops. :P
Committed and pushed to 8.0.x. Thanks!