Closed (fixed)
Project:
me aliases
Version:
4.7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2007 at 03:11 UTC
Updated:
30 Apr 2007 at 16:01 UTC
First of all I must say this is an excellent module.
The problem however is that many people who click on the link are not logged in. Right now this translates "me" into "0" which is invalid in most cases (e.g. editing anon user profile). What is needed instead is redirect to login form that redirects back to "me" page.
Attached is the patched file for 4.7. This is basically addition of a simple condition into me_relay.
| Comment | File | Size | Author |
|---|---|---|---|
| me.module.txt | 2.3 KB | dkruglyak |
Comments
Comment #1
ahoeben commentedThe target module should really be handling the 'uid=0'/access denied case. It could be desirable to have the '0' case work as it does currently. Site admins could put in place aliases for cases when the '0' scenario is not properly handled.
However, I can see that an option to go through a login form could be a good addition as well. Thanks for the suggestion. Could you make a patch?
Comment #2
ahoeben commentedApplied to both 4.7.x and 5.x dev versions
Comment #3
ahoeben commentedComment #4
(not verified) commented