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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • In-place edit of custom field option value: existing custom data not updated
Pages: [1]

Author Topic: In-place edit of custom field option value: existing custom data not updated  (Read 916 times)

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
In-place edit of custom field option value: existing custom data not updated
March 15, 2013, 06:43:49 am
Hi,

Tested in 4.3.beta3:

When editing a custom field option value the old-fashioned way, when the value is changed, the existing custom data in the relevant civicrm_value_% table is updated: any instances of the old value are replaced with the new.

When editing the option values with the new in-place edit, this does not happen.

In a way it's a data integrity issue: as far as people accessing the data from the UI are concerned (i.e. users), the data for the changed option will have disappeared. And if someone changed a few values such that one of the new values was the same as one of the old ones (perfectly plausible e.g. if using numeric values), then erroneous data would be shown.

Dave

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: In-place edit of custom field option value: existing custom data not updated
March 15, 2013, 08:06:18 am

Can you please file an issue for this. If we cant fix it, we'll roll that feature back

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

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
Re: In-place edit of custom field option value: existing custom data not updated
March 15, 2013, 08:20:33 am
Created http://issues.civicrm.org/jira/browse/CRM-12124

Cheers,

Dave

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • In-place edit of custom field option value: existing custom data not updated

This forum was archived on 2017-11-26.