CiviCRM 4.6.2 / Wordpress
On the civi change log we have spotted a edits of contact records entered by one user are being recorded as edits by another user. Any ideas on how this might happen, what can be done to stop it happening?
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It only takes a minute to sign up.
Sign up to join this communityCiviCRM 4.6.2 / Wordpress
On the civi change log we have spotted a edits of contact records entered by one user are being recorded as edits by another user. Any ideas on how this might happen, what can be done to stop it happening?
There are two main causes that I can think of.
The person doing the editing was doing it whilst logged in as the other person. Possible scenarios and suggested 'solutions' are:
The table that links wordpress user to civicrm contact record has become (or was for a while) corrupted so that the wordpress login for the editor is/was linked to the civicrm record for the other person. (This could happen for a drupal-based site if the uf_match table was corrupted. I presume there is something similar in wordpress, but I don't really know.)
JoAnne's answer is excellent. There's a third scenario I should add, however.
Sometimes, staff will try to register someone else for an event from the frontend without logging out. (Profiles in edit mode, petitions, and contribution pages do this too, but events seem most common.) They enter the other contact's name and email, and when they're done, CiviCRM has the other person's information in the first user's contact.
There is a notice about this at the top of contribution and event forms, complete with a link to let you fill out the form not as yourself (it tacks on &cid=0
to the URL). However, that notice is frequently missed.
If you have logging enabled /civicrm/admin/setting/misc?reset=1 then you should be able to track back via the changelog Tab on the record and see when things went awry which might shed some light on why this is happening.
Finally figured out what happened on this. It looks like at the point of moving from Drupal to Wordpress the assocation between the user account and the civi contact were mismatched.
Did a manual fix through the front end (just 10 records impacted). On the contact record, click the user id link which takes you though to the user account record. Where these were mismatched we modified the contact record to match the user record. Job done. Lesson to self: don't forget the user/contact relationship!