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) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • UFMatch uf_name field is mislabeled?
Pages: [1]

Author Topic: UFMatch uf_name field is mislabeled?  (Read 546 times)

John.K

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 5
  • CiviCRM version: 4.x
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5
UFMatch uf_name field is mislabeled?
February 24, 2015, 01:44:00 am
This is from a Drupal perspective.

Summary

The field labels for fields in the UFMatch entity, that matches CiviCRM contacts to CMS users, do not accurately describe each field.

Steps to recreate

Visit the API explorer on dmaster: http://dmaster.demo.civicrm.org/civicrm/api

Entity: UFMatch
Action: Create

Issue

Fields:

Label
Field name
What it relates to in Drupal

CMS ID
uf_id
Drupal user ID
This one is OK.

CMS Unique Identifier
uf_name
The email address of the Drupal user. So the label, field name and purpose are all out of sync. Although the email address would normally be a 'unique ID' in Drupal, it is much better to use the user ID. If this field stores the email address it should be labelled as such. The field name 'uf_name' suggests it contains the 'username'. I understand this is CMS independent, but the labeling here is quite misleading.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • UFMatch uf_name field is mislabeled?

This forum was archived on 2017-11-26.