Closed (outdated)
Project:
Role Delegation
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Dec 2010 at 17:02 UTC
Updated:
10 Mar 2016 at 13:52 UTC
Jump to comment: Most recent
Think there is a collision with the "Change password"-module when performing the very same action. The problem did not exist in version 6.x-1.3. Simply shows white-screen
Comments
Comment #1
Andrew Schulman commentedSorry for the trouble. However, I can't tell from your report what happened. What action are you referring to? What page were you on, and what actions did you take, that led to the white screen?
Line 274 of what? Doesn't the error message say? Line 274 of role_delegation.module is blank, so the error must be coming from some other module (although it could still be role_delegation's fault). Any other log messages or detail that you can provide would be helpful.
Andrew.
Comment #2
Andrew Schulman commentedCould this possibly be #755414: white screen of death if user has no access to user edit form fields?
Comment #3
OskarDrupalor commentedHi!
When user has the permission to change other roles password in the Change password"-module, it white screens. The problem occurs on line 274 in role_delegation.module 6.x-1.4, which states:
273: elseif (isset($edit['roles_assign']) && ($op == 'insert' || $op == 'submit')) {
274: $edit['roles'] = $edit['roles_preserve'] + array_filter($edit['roles_assign']);
275: }
It can't reproduce the error message since I reversed me installation back to 1.3...
Ps. Think the problem is based on an unsupported update...
Comment #4
Andrew Schulman commentedAh hah! This looks like a dup of the elusive #781388: PHP fatal error (stdClass in array).
Thanks for the additional information. I'll see if I can reproduce it in the next day or two. If I can, then I think we can solve it pretty quickly.
Comment #5
Andrew Schulman commentedI'm not able to reproduce this. Can you please tell me:
Thanks for your help. I would like to fix this one.
Andrew.
Comment #6
OskarDrupalor commentedOk nice. I tried that solution, however it didn't work. I was in quite some hurry and rushed it, so maybe just a small patch that will work...
Comment #7
Andrew Schulman commentedPlease reply to #5, so I can try to fix this. Thanks, Andrew.
Comment #8
Andrew Schulman commentedComment #9
benjy commentedDrupal 6 support has now been dropped.