I was having some trouble where going to user/register with a destination parameter set (user/register?destination=xxx) was causing it to go back to the home page. I have Logintoboggan 6.x-1.7 installed as well. I was able to fix the issue by replicating the pattern that the user module uses in user_page where it modifies the active menu item and recalls menu_execute_active_handler. It seems to be a more bulletproof method in the case where you don't really want to do a full redirect, but instead just want to alter what is presented to the user at that path.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | autoassignrole_path_active_handler_1.patch | 1.49 KB | st0nerhat |
| autoassignrole_path_active_handler.patch | 1.54 KB | st0nerhat |
Comments
Comment #2
st0nerhat commentedLets try this again...
Comment #3
st0nerhat commentedComment #5
cyberswat commented@st0nerhat if your up for it, you may need to evaluate the simpletests themselves to make sure they handle the case you are testing. You may be getting false failures.
Comment #6
gamelodge commentedThanks!! - That patch worked for me --