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) »
  • Contact phone number was not set as primary
Pages: [1]

Author Topic: Contact phone number was not set as primary  (Read 573 times)

VitorFF

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 1
  • CiviCRM version: 4.4.11
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
Contact phone number was not set as primary
January 12, 2015, 02:48:15 am
Hello guys,

I just found a contact in our data that only has one phone number and it's not set as primary.
The contact is also not on hold (sms or phone).

Does any one have an idea on how this could happen?


Thanks,
VitorFF
Why don't you take a look at this? (You will not regret it!)

Capitalisation Corrector : https://civicrm.org/extensions/capitalisation-corrector

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Contact phone number was not set as primary
January 12, 2015, 10:27:53 am
Do you have any idea how the contact came in? Is a result of an event registration? Did it come in with an API request?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

VitorFF

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 1
  • CiviCRM version: 4.4.11
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
Re: Contact phone number was not set as primary
January 13, 2015, 06:51:20 am
Hello Erik,

The contact came in via our webforms.
I've look at other contacts that registered in the same way and time as the ones we found the problem but they are OK.
I can't find any pattern around the few contacts that I've encountered this issue.

Thnaks,
VitorFF
Why don't you take a look at this? (You will not regret it!)

Capitalisation Corrector : https://civicrm.org/extensions/capitalisation-corrector

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Contact phone number was not set as primary
January 13, 2015, 06:56:54 am
It is impossible to find out what happened from the data so I am afraid I can not explain this. I would tend to treat it as an incident but keep a watchful eye out :-)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

VitorFF

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 1
  • CiviCRM version: 4.4.11
  • CMS version: Drupal 7.27
  • MySQL version: 5.5
  • PHP version: 5.4
Re: Contact phone number was not set as primary
January 13, 2015, 07:13:14 am
Yes, we are keeping our eyes open for any other cases.

Thank you so much for your insight on this issue!
Why don't you take a look at this? (You will not regret it!)

Capitalisation Corrector : https://civicrm.org/extensions/capitalisation-corrector

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: Contact phone number was not set as primary
January 26, 2015, 01:19:58 am
Dear Erik,

If you could scan the data of some of your installs to determine if this is the case for you as well, that would be a great help.

John
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Contact phone number was not set as primary
January 26, 2015, 07:56:03 am
JohnFF,
you lost me :-) What is the case for me in some of our installs? If the problem you sketched is in our databases? Even if it would, it could mean many things so I am not sure what we are trying to achieve?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: Contact phone number was not set as primary
January 27, 2015, 02:09:36 am
Dear Erik,

Apologies if I was unclear: What I meant was is this happening in any of your installs (that you've contacts with a phone number, neither of which is primary).

This will help us determine whether or not this is caused by one of our legacy customisations or if it's determined by CiviCore.

Thanks!
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Contact phone number was not set as primary
January 27, 2015, 02:18:42 am
I understand ;D
That would not help however as each of our installs has customizations and data that was imported from migrations. So we would be left with the same puzzle? All I can say that none of our customers ever reported such an issue.
Erik
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Contact phone number was not set as primary

This forum was archived on 2017-11-26.