Needs work
Project:
Bio
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2008 at 15:31 UTC
Updated:
14 Aug 2008 at 15:22 UTC
for some reason, in my installation the following line doesn't return a value even though the current logged-in user has a bio:
SELECT nid FROM {bio} WHERE uid = %d
I'm guessing this might be the result of a larger problem, however I have fixed this problem with the attached patch that changes the above line to look through the node table instead.
| Comment | File | Size | Author |
|---|---|---|---|
| bio_for_user_fix.patch | 663 bytes | jjeff |
Comments
Comment #1
dwwIs this an installation that predates bio_update_5100()?
Comment #2
kulfi commentedNeed help figuring out why the following snippet in my Workflow NG Login Redirect results in errors:
Condition:
Error:
Comment #3
sunI do not think that this patch fixes the cause, because you're simply skipping the bio table after Bio failed to add a record for a user.
We have some more patches waiting to be submitted, and one of them is a complete user registration overhaul.