Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
database system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
7 Sep 2008 at 20:40 UTC
Updated:
5 Oct 2008 at 18:42 UTC
Jump to comment: Most recent file
Comments
Comment #1
Crell commentedIt looks like that should be a db_merge(). Once upon a time merge was part of insert, but was split out. Try changing db_insert() to db_merge(), that should fix it.
Comment #2
moshe weitzman commentedGot to fix before release. OpenID is busted.
Comment #3
Crell commentedThere are some notices in OpenID that have nothing to do with this patch, but this should fix the issue. I was able to register and login successfully with OpenID. I also converted the delete query in the same function, as it seemed a waste to not do so. :-)
Comment #4
moshe weitzman commentedYes, this fixes the bug, and code looks good. As you say, OpenID is a bit noisy now. We'll squash those NOTICES elsewhere.
Comment #5
dries commentedI've committed this patch to CVS HEAD, but it looks like we need to have a test for this still. Marking it as 'code needs work'.
Comment #6
Crell commentedLet's do the test separately, as it is only tangentially related to this issue: #311462: Test needed: Logging in with OpenID
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.