Closed (fixed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jan 2011 at 14:39 UTC
Updated:
3 Jan 2014 at 02:41 UTC
Jump to comment: Most recent
Comments
Comment #1
Roze-1 commentedSame thing happening in VERSION: 6.14,
When users log in - page is not redirecting and going to default page .
Comment #2
fagoThe page redirect won't support absolute URLs, however at least we need to provide a suiting validation method then that shows an error if an absolute URL is entered.
Comment #3
Roze-1 commentedfinally i made it worked , like the problem was with url. After i made "clean url" it was working perfectly. sorry for the trouble.
Comment #4
fagoSo what was the problem? You had to use clean urls or what?
Comment #5
Roze-1 commentedyes the clean url was making the problem :)
Comment #6
Weaver commentedfago, rules does support absolute urls, and there are other posts relating to this, have i missed something?
anyway it wasnt the destination thats the problem, its with the trigger.
Redirect does not work on "User has logged in", absolute url or otherwise.
To reproduce, install Acquia Drupal stack on Windows XP (32bit SP3)
Import Drupal 7
Install Entity API 7.x-1.x-dev
Install Rules 7.x-2.x-dev
Create Rule:
Event - User has logged in
Consitions - None
Actions - Page redirect - value <> - Force Redirect cheched - Append Destination Parameter unchecked
Comment #7
Weaver commentedComment #8
fagoOh, sry I was wrong with that. It should work with absolute URLs too, just the destination parameter does not. As Rules has been making use of that for its purposes in some situations, the redirect failed for absolute URLs. I took a stab on that and fix the redirect. In my tests it did work in any situations. Please test the next dev snapshot and just re-open the issue if any problems occur.
Comment #9
likewhoa commented@fago i just tried your recent snapshot but local/remote redirects are not working still. The rule in question is below.
Comment #10
fagoThe recent snapshot is too old -> Last updated: February 9, 2011 - 01:37
Please wait until it is updated.