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

Andrew Schulman’s picture

Assigned: Unassigned » Andrew Schulman
Status: Active » Postponed (maintainer needs more info)

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

Andrew Schulman’s picture

OskarDrupalor’s picture

Hi!

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

Andrew Schulman’s picture

Status: Postponed (maintainer needs more info) » Active

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

Andrew Schulman’s picture

I'm not able to reproduce this. Can you please tell me:

  • What version of Change Password are you using?
  • What exactly did you do that caused the white screen? Did you just view a tab, or try to change a password, or assign a role? I've done all of these things with Role Delegation 6.x-1.4 and Change Password 6.x-1.2, and I can't reproduce the error.

Thanks for your help. I would like to fix this one.
Andrew.

OskarDrupalor’s picture

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

Andrew Schulman’s picture

Please reply to #5, so I can try to fix this. Thanks, Andrew.

Andrew Schulman’s picture

Status: Active » Postponed (maintainer needs more info)
benjy’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)

Drupal 6 support has now been dropped.