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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • UFMatch - how does it match?
Pages: [1]

Author Topic: UFMatch - how does it match?  (Read 1410 times)

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
UFMatch - how does it match?
August 09, 2008, 11:58:36 am
UFMatch provides the glue between the CMS and CiviCRM. But what does it match on?

I'm assuming it is on first name, last name, email. Is this correct?

My issue is that I've got an existing Joomla site and am trying to integrate it with CiviCRM via my authentication plugin. The problem I've got is this:

                    Joomla                   CiviCRM
firstname        Jon                       Jonathan
lastname         Doe                      Doe
email              jdoe@email.com      jdoe@email.com

This isn't going to match isn't it?

So I got  to look for all the joomla users that don't have a match in the civicrm_uf_match table and manually update there details in the Joomla user table. (Unless someone else has a better idea).

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: UFMatch - how does it match?
August 09, 2008, 12:40:25 pm

we only use email to match between CMS and CiviCRM in the UFMatch code.

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

rogerco

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 5
Re: UFMatch - how does it match?
August 11, 2008, 09:09:01 am
so what happens if two individual contacts use the same email address?
(I have a few of these - usually joint members in one household)

RogerCO

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: UFMatch - how does it match?
August 11, 2008, 11:44:33 am

We dont handle this case. I'm not sure what will happen, you might want to give it a shot and see. I suspect a db fatal error will be thrown (since there will be a constraint violation in the uf_match table)

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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • UFMatch - how does it match?

This forum was archived on 2017-11-26.