Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
There is a conflict with gallery which results in duplicate users accounts in gallery - and, during a gallery - Drupal user sync, can also create duplicate Drupal accounts.
More info here: http://drupal.org/node/367992#comment-1279566
I've also reported this to the gallery issues queue.
Comments
Comment #1
NancyDruI don't have Gallery, so I can't test this. I do know that Realname does not create accounts, so that part of the problem is elsewhere.
Comment #2
NancyDruCan you post a link to the Gallery issue so I can track it, please.
Comment #3
plan9 CreditAttribution: plan9 commentedHi
I made a report to the gallery queue here: http://drupal.org/node/379622#comment-1279588
Comment #4
NancyDruThanks
Comment #5
NancyDruwatching that issue
Comment #6
plan9 CreditAttribution: plan9 commentedI've identified which line of code is causing the problem:
Line 103:
$account->name = $account->realname;
From:
I've noticed that in the dev version of realname module this line of code has been commented out which does fix the gallery bug but also removes the realnames from user profiles.
Comment #7
plan9 CreditAttribution: plan9 commentedWhen I say user profiles I mean user pages as in this issue: http://drupal.org/node/369183
Comment #8
plan9 CreditAttribution: plan9 commentedHi Nancy
I've found the code in gallery that is causing the conflict with realname. It's in gallery/gallery.inc lines 59 - 74
If I comment out this code and update a user profile in Drupal the problem appears to be fixed - however in gallery corresponding user accounts details are no longer being updated. So I'm guessing the problem is with gallery module using
$user->name;
and this being intercepted by realname. The duplicate accounts that are being generated through a mis-synch all have a realname as their username.Any hints / tips would be really appreciated.
G
Comment #9
hass CreditAttribution: hass commentedBranch is no longer supported.