Closed (fixed)
Project:
Role Delegation
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
12 May 2010 at 22:57 UTC
Updated:
5 Jan 2013 at 11:22 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
AlexisWilke commentedHmm.... that breaks the admin Add User window. Weird... I guess it merges the arrays in a way that's not good enough and the order in which it is done cannot be controlled. Too bad.
Comment #2
teliseo commentedAttached patch fixes the problem in comment #1 by working around a bug in core (#227690: hook_user('register') implementations can't inject fields into account (the main one) fieldset), and additionally puts the notify element in the right place. The original issue may seem minor, but I’m fixing it for proper integration with my changes to Role Expire (#831232: Problem working with role delegation module for non admin/uid 1).
Comment #3
AlexisWilke commentedteliseo,
Cool! The new patch looks good. 8-)
Thank you.
Alexis
Comment #4
AlexisWilke commentedOkay, I now tested and I can see that it works as expected. Great! Thanks teliseo.
Alexis
Comment #5
Andrew Schulman commentedThanks for the patch. I tested it, it works. Committed now in 6.x-1.x-dev.
I want to finish cleaning up a few more issues from the queue, and then I'll roll a new 6.x release, including this fix.
I looked for this problem in D7, but I couldn't reproduce it there. The form field is different, and I guess that #227690: hook_user('register') implementations can't inject fields into account (the main one) fieldset doesn't occur there either.
Comment #6
AlexisWilke commentedCool! Thanks Andrew for taking the module over. 8-)
Comment #8
Anonymous (not verified) commentedWhy not the same for the role_preserve array?
Without the role_preserve under the account tree there was a compatibility problem with the account profile module.