CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • contact record is destroyed when logged-in user lets other person submit profile
Pages: [1]

Author Topic: contact record is destroyed when logged-in user lets other person submit profile  (Read 742 times)

Sean Madsen

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 5
  • CiviCRM implementer/developer
    • Bikes Not Bombs
  • CiviCRM version: 4.6
  • CMS version: Drupal 7
contact record is destroyed when logged-in user lets other person submit profile
April 26, 2010, 08:38:11 am
I'm having a problem here where I'm losing contact data. Here is the situation...

A person uses CiviCRM to register for an event and then create a personal fundraising page. In order to edit the PCP the person must create a user account and log in to the system. This process all works pretty well. The problem then comes when the person lets their friend use their computer to donate to their page... when the friend fills out the donation form and the first user is still logged in, CiviCRM dumps all the new friend's information into the initial person's contact record, wiping out the initial contact. Ahhh!

It kind of seems to me like this functionality (to automatically pick the contact record of the logged-in user) is somehow intentional in CiviCRM. Is that the case? It seems like a terribly problematic functionality. I'd much rather CiviCRM pick the user record based on the de-duping rules that I have set up (where email, first_name, and last_name must ALL match).

I have run in to several cases of this problem happening and it requires me to: (1) look at the contact change log to make a hypothesis about when the record was corrupted; (2) restore a pre-corruption database backup into a test site; (3) sift through the differences of the two contact records; (4) manually separate the data into their appropriate records, which often requires backend manipulation of the data.

In an effort to mitigate this problem I have installed the following Drupal module:
http://drupal.org/project/autologout

Is there a way I can disable the functionality in CiviCRM that picks the contact record of the logged in user when a person submits a profile form?
« Last Edit: April 26, 2010, 12:02:50 pm by Sean Madsen »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: contact record is destroyed when logged-in user lets other person submit profile
April 26, 2010, 02:30:14 pm

hey sean:

wanna get on IRC. we can figure out a solution and potentially something that can work for most people (i.e. configurable)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • contact record is destroyed when logged-in user lets other person submit profile

This forum was archived on 2017-11-26.