Closed (duplicate)
Project:
Auto Assign Role
Version:
6.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2010 at 11:59 UTC
Updated:
8 Sep 2010 at 14:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
fuerst commentedAttached patch fixes this issue.
Comment #3
fuerst commentedDon't see any connection of the failed test above to my patch. It fails with messages like A tab named s231859e6is9uZd is pointing to user/s231859bGUwstKW and A menu item named s552495RCdagq6I pointing to /s552495uIGy0wyL exists on the user page.
Any thoughts?
Comment #4
cyberswat commentedTesting bot gets weird sometimes ... let's try again just in case
Comment #5
cyberswat commentedLooks like I might need to update the simpletests
Comment #6
troyl commented#1: autoassignrole-808696.patch queued for re-testing.
Comment #8
fuerst commentedPlease do not re-test the patch as long as the simpletests are not updated. Thanks!
Comment #9
codeglyph commentedseems to work for me
Comment #10
alioso commentedseems to work for me too
Comment #11
scott m. sanders commentedThis patch works for us thankfully. :)
Comment #12
MaximG commentedAll right!
Comment #13
MaximG commented#1: autoassignrole-808696.patch queued for re-testing.
Comment #15
adam_b commentedAny update on this please?
I'm upgrading the priority as re-setting the default registration page really isn't acceptable.
Comment #16
Anonymous (not verified) commentedI have solved it using the following line to replace the @ line 110 in the 6.x-1.x-dev:
Was:
'#default_value' => (isset($defaults[$k]['registration']) ? 1 : 0),
Replacement:
'#default_value' => (isset($defaults[$k]['registration']) && $defaults[$k]['registration'] == 1 ? 1 : 0),
This seems to solve the problem, as it is something quite basic I imagine that this will also solve the problem in 6.x-1.2.
Comment #17
adam_b commentedThis seems to have fixed it for me, thanks.
NB: the relevant file is autoassignrole-admin.inc
Comment #18
cyberswat commentedDuplicate of #830314: You can not replace the user register page with a node if a path has been designated as the user register page. ... I applied the fix proposed there ... and for the love of whatever you believe could you please learn to submit patches and stop posting code in comments.