Closed (fixed)
Project:
CAS
Version:
7.x-1.x-dev
Component:
CAS
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Jun 2011 at 17:41 UTC
Updated:
7 Jun 2014 at 20:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
bfroehle commentedAnd this issue does not occur on future logins of the same user?
Comment #2
bfroehle commentedCan you try out this patch?
Fundamentally I think it's a problem with Drupal core... they claim that user_save() returns a "fully-loaded $user object" but I don't believe them.
Comment #3
bfroehle commentedHmm, let's try attaching the correct patch! Please ignore #2 and consider this patch to the CAS module instead.
Comment #5
bfroehle commentedOkay, so I guess testing won't work unless we select "7.x-1.x-dev"...? Please bear with me here..
Comment #6
bfroehle commented#3: 1176904-Initial-login-generates-a-timezone-war.patch queued for re-testing.
Comment #7
bfroehle commented@humansky, sorry for all of the clutter in this issue. Give the patch in comment #3 a shot. I think it should resolve your problem. Please write back with results.
As I mentioned in #2, I think this stems from an issue with Drupal core -- see #1177234: user_save doesn't return a "fully-loaded $user object".
Comment #8
humansky commentedWas able to verify several usernames and patch in comment #3 works like a charm.....thank you!!!
Comment #9
justintime commentedI can confirm the bug, and the patch that fixes it. I also concur that it's a bug in user_save -- just for fun I tried setting the 'is_new' element in the $edit array, and it didn't change anything.
Comment #10
bfroehle commentedCommitted to 7.x-1.x-dev in 904a863ba5132f994aa83855e05f580cc3e751b9.