PL will not work if I assign redirect action to a trigger: After a user has logged in

thomasfan - May 7, 2009 - 14:47
Project:Persistent Login
Version:6.x-1.4-beta6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

If I assign a "Redirect to URL" action to "trigger: After a user has logged in" and PL will not work and will not Redirect either.
Please help.
Thanks a lot.

#1

markus_petrux - May 8, 2009 - 07:03
Title:PL will not work if I assign a action to a trigger: After a user has logged in» PL will not work if I assign redirect action to a trigger: After a user has logged in
Status:active» by design

This is in my opinion a bug in Drupal. Please, see other reports in the Drupal queue for the trigger module.

Example: #411572: Redirect to URL action loses extra field data

The "Redirect to URL" action is implemented by system.module and it shortcircuits any further processing because it preforms a blind drupal_goto(). See system_action_info() and system_goto_action() in system.module

Once this action is enabled for a user login event, PL has no oportunity to get involved. Drupal should implement this action in some other way.

 
 

Drupal is a registered trademark of Dries Buytaert.