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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Contact Info - multiple phone numbers for a contact not saving
Pages: [1]

Author Topic: Contact Info - multiple phone numbers for a contact not saving  (Read 2440 times)

webgirl

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Joomla 3.1
  • MySQL version: 5.1
  • PHP version: 5.4
Contact Info - multiple phone numbers for a contact not saving
November 11, 2013, 06:57:12 am
I am building a directory.  Many contacts have multiple phone numbers and addresses.  However, the phone numbers do not save.  I can add more than one phone number, save the contact with no errors.  But if I then view the contact the additional phone numbers are missing.  Only the phone number marked "primary" saves reliably.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Contact Info - multiple phone numbers for a contact not saving
November 11, 2013, 07:14:25 am
Do you have any CiviCRM Extensions installed?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

webgirl

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Joomla 3.1
  • MySQL version: 5.1
  • PHP version: 5.4
Re: Contact Info - multiple phone numbers for a contact not saving
November 11, 2013, 07:27:27 am
No extension installed.  This is a fresh install on new site in development.

I attached a few screen shots to show what I mean.

From the overview/inline view the phone numbers are correct.  But from the edit view they are not.  It appears to be a display issue on the edit view?

webgirl

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Joomla 3.1
  • MySQL version: 5.1
  • PHP version: 5.4
Re: Contact Info - multiple phone numbers for a contact not saving
November 12, 2013, 10:40:15 am
I have checked into this more, and when compared to the Joomla demo site, it appears that the following lines are not added to my admin template (I'm using the standard one) 

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/jquery-1.8.3.min.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/jquery-ui-1.9.0/js/jquery-ui-1.9.0.custom.min.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.autocomplete.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.menu.pack.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.chainedSelects.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.tableHeader.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.textarearesizer.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.form.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.tokeninput.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.timeentry.pack.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.mousewheel.pack.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/DataTables/media/js/jquery.dataTables.min.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.FormNavigate.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.validate.min.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.ui.datepicker.validation.pack.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.jeditable.mini.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.blockUI.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.notify.min.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.redirect.min.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/rest.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/Common.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/jquery/jquery.crmeditable.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/jquery/jquery.crmasmselect.js?r=47Kok">
</script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/jquery-ui-1.9.0/development-bundle/ui/i18n/jquery.ui.datepicker-en-GB.js?r=47Kok">
</script>

Any ideas?

webgirl

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Joomla 3.1
  • MySQL version: 5.1
  • PHP version: 5.4
Re: Contact Info - multiple phone numbers for a contact not saving
November 13, 2013, 05:08:39 am
Anyone any ideas?

I can't get this to work.

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 Info - multiple phone numbers for a contact not saving
November 13, 2013, 07:11:45 am

so the phone numbers do save? but when editing, the phone numbers are not retrieved?

i think this might be a long standing bug in profile code which is a bit non-trivial to fix (just a vague recollection)

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

webgirl

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Joomla 3.1
  • MySQL version: 5.1
  • PHP version: 5.4
Re: Contact Info - multiple phone numbers for a contact not saving
November 13, 2013, 08:16:00 am
Correct, the phone numbers will not retrieve correctly.  The will repeat the first one again and again, and the lines will be strangely out of alignment.

If I add multiple phone numbers in the contact edit/details view only the first and the last will save properly.  If you go back to the edit view of that contact the first phone number will repeat multiple times.

If I add or edit phone numbers in the inline view, it works fine.  (however there is a limit of 5 entries in the inline view).

I have tried on different browsers.  I have tried different templates.  I have disabled all non essential Joomla plugins.  I have manually added the javascript to the backend template.  Still no success.

On further testing it seems that all of the multi entry fields have this issue (phone, email, etc).  When you click "add another" the next line shifts the first out of alignment and then the weirdness happens. 

The only difference between my site and the demo is mine is Joomla 3.1 and the demo is 2.5.  In the demo all works fine. 

I've attached a screenshot.
« Last Edit: November 13, 2013, 08:17:44 am by webgirl »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contact Info - multiple phone numbers for a contact not saving
November 14, 2013, 12:52:16 am
This is definitely a bug hence filed: http://issues.civicrm.org/jira/browse/CRM-13759

Thanks
Kurund
Found this reply helpful? Support CiviCRM

webgirl

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Joomla 3.1
  • MySQL version: 5.1
  • PHP version: 5.4
Re: Contact Info - multiple phone numbers for a contact not saving
November 14, 2013, 05:28:17 am
Is there any way I can roll back to before this was introduced without a full uninstall/reinstall?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Contact Info - multiple phone numbers for a contact not saving
November 15, 2013, 02:15:22 am
you can get the patch for the fix from this PR: https://github.com/civicrm/civicrm-core/pull/1984

Kurund
Found this reply helpful? Support CiviCRM

webgirl

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Joomla 3.1
  • MySQL version: 5.1
  • PHP version: 5.4
Re: Contact Info - multiple phone numbers for a contact not saving
November 15, 2013, 12:22:17 pm
It's fixed!!! 

Thank you so much - you guys rock! ;D

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Contact Info - multiple phone numbers for a contact not saving

This forum was archived on 2017-11-26.