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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Editing Option Group "Contact edit options" breaks the Contact editing form (pho
Pages: [1]

Author Topic: Editing Option Group "Contact edit options" breaks the Contact editing form (pho  (Read 600 times)

aliosman20

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.3.1
  • CMS version: drupal 7
  • MySQL version: mysql5
  • PHP version: php5
Editing Option Group "Contact edit options" breaks the Contact editing form (pho
April 17, 2012, 05:46:13 am
issues.civicrm.org/jira/browse/CRM-9953?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab#issue-tabs

I got same issue in my installation.

When an option e.g. "email" of option group 'contact edit options' is updated (I changed the label from 'Email' to 'Adresse électronique'), the filter column in table "civicrm_option_value" is set to "0" instead of "1". This causes then the following fatal error when editing a contact:

PHP Fatal error: Call to undefined method CRM_Contact_Fo
rm_Edit_Email::setDefaultValues() in /var/www/drupal-7.12-beta/sites/all/modules
/civicrm/CRM/Contact/Form/Contact.php(361) : eval()'d code on line 1

See in the attachment the related extract from table 'civicrm_option_value' BEFORE and AFTER update to option 'Email' of option group 'contact_edit_option'.

Somebody have solution for this problem?

Thanks

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: Editing Option Group "Contact edit options" breaks the Contact editing form (pho
April 17, 2012, 07:44:42 am

any chance you can help find and fix this issue? We can get you started on IRC

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

aliosman20

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.3.1
  • CMS version: drupal 7
  • MySQL version: mysql5
  • PHP version: php5
Re: Editing Option Group "Contact edit options" breaks the Contact editing form (pho
April 19, 2012, 07:06:56 am
Hi Lobo,

I am not expert on php or mysql, i am only user for civicrm. But if i can help to find solution for this issue, i want to help.
How can I do?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Editing Option Group "Contact edit options" breaks the Contact editing form (pho

This forum was archived on 2017-11-26.