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 »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Organizations created via profiles not checking for duplicates
Pages: [1]

Author Topic: Organizations created via profiles not checking for duplicates  (Read 1840 times)

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Organizations created via profiles not checking for duplicates
September 04, 2009, 02:19:57 pm
Pretty sure this bug is back: http://issues.civicrm.org/jira/browse/CRM-3902

I verified this on demo. Here are my steps:
- Create a profile with Org. Name, City, and website
- set strict org. dedupe rule to org name (weight of 5), city (weight of 5), with threshold of 10

DharmaTech is in the demo database (with city Salt Lake City) and I went to create a new record via the profile with the same values for name and city as the record in the database except i changed the website. It should have updated the existing DharmaTech record.

Am I correct that this bug is back? If so should I reopen that ticket or create a new one?

Thanks for the help
Tony
http://dharmatech.org
oss@dharmatech.org
801.541.8671

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: Organizations created via profiles not checking for duplicates
September 05, 2009, 08:16:21 am

hey tony:

i've reopened the issue

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

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: Organizations created via profiles not checking for duplicates
September 05, 2009, 09:18:52 am
Ok. Thanks, lobo

Tony
http://dharmatech.org
oss@dharmatech.org
801.541.8671

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Organizations created via profiles not checking for duplicates
September 08, 2009, 07:56:50 am
I tried reproducing this on current trunk (r23554) with the dedupe rules above, and an attempt to create an organisation with a given name and city fails with ‘An account already exists with the same information’.

Can you reproduce this issue on sandbox (demo still runs CiviCRM 2.2)?
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: Organizations created via profiles not checking for duplicates
September 08, 2009, 08:22:39 am
Hi Piotr. Tony here.

I apologize.  I forgot to specify that I had "update contact on duplicate match" checked in the profile's settings.

I was able to reproduce on sandbox. Instead of updating the existing DharmaTech record, it created a new one. Ignoring my dedupe rules.

Thanks for looking into it

Tony
http://dharmatech.org
oss@dharmatech.org
801.541.8671

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Organizations created via profiles not checking for duplicates
September 09, 2009, 07:39:07 am
I’m sorry, I’m an idiot. First, I forgot to check the checkbox you mentioned, next – I mistakenly set the threshold to 5. The dedupe matching is running, and it does update the org, it’s just that a city-based rule is broken (the updating works if you set the threshold to 5). I’ll fix it tomorrow.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: Organizations created via profiles not checking for duplicates
September 09, 2009, 08:05:28 am
Cool, Piotr. Thanks for looking into it

Tony
http://dharmatech.org
oss@dharmatech.org
801.541.8671

Piotr Szotkowski

  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Organizations created via profiles not checking for duplicates
September 10, 2009, 03:45:44 am
I think I fixed this in r23570 (and updated sandbox), so I’d love it if you could verify the fix.

Note: I filed CRM-5026 to fix in 3.1 as a result of works on this issue.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

dharmatech

  • I post frequently
  • ***
  • Posts: 280
  • Karma: 53
    • dharmatech.org
Re: Organizations created via profiles not checking for duplicates
September 10, 2009, 08:21:23 am
Hey Piotr. It works! Thanks.

Tony
http://dharmatech.org
oss@dharmatech.org
801.541.8671

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Organizations created via profiles not checking for duplicates

This forum was archived on 2017-11-26.