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.

Comments

Status: Needs review » Needs work

The last submitted patch, autoassignrole_path_active_handler.patch, failed testing.

st0nerhat’s picture

StatusFileSize
new1.49 KB

Lets try this again...

st0nerhat’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, autoassignrole_path_active_handler_1.patch, failed testing.

cyberswat’s picture

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

gamelodge’s picture

Thanks!! - That patch worked for me --