Closed (fixed)
Project:
Webserver authentication
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2007 at 22:02 UTC
Updated:
8 May 2007 at 01:46 UTC
Webserver_auth sets $user = user_external_load just that it can then see if it got a valid user. If it succeeds, fine. If it fails it does it's magic. The problem is that the magic includes user_save which invites other modules to exercise their hooks on the invalid $user variable. The profile module calls user_access with the invalid $user variable and we get sql errors.
This was already brought to light in a post by:
http://drupal.org/node/109576
I wish I'd seen that before I debugged it myself as well.
/web
| Comment | File | Size | Author |
|---|---|---|---|
| profile_clash.patch | 247 bytes | zibas |
Comments
Comment #1
moshe weitzman commentedapplied. thanks.
Comment #2
(not verified) commented