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 CiviEvent (Moderator: Yashodha Chaku) »
  • Strange display name behavior on event registration
Pages: [1]

Author Topic: Strange display name behavior on event registration  (Read 723 times)

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Strange display name behavior on event registration
August 04, 2010, 09:24:47 am
I'm pretty sure this is a bug, but the contact-matching procedure is still a little opaque to me, so I figured I should post here before filing an issue.

Here's the situation.  If a contact registers for an event that does not collect name data on the registration page, contact matching seems to work fine on the email address only.  However, the display name for the contact is changed to just the email address.  If you look at the contact summary, it looks like the contact's name has been deleted.  However, if you edit the contact, the name data is still there.  Saving the contact restores the display name.  This occurs for both authenticated and anonymous users.

I have replicated the behavior on the demo site.  
« Last Edit: August 04, 2010, 01:20:09 pm by kmarkley »

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: Strange display name behavior on event registration
August 04, 2010, 06:52:12 pm

can you give us the url on the demo site (i.e. for what event)

also, can u please file an issue and link to this forum post

thanx

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

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Strange display name behavior on event registration
August 05, 2010, 04:01:04 pm
Kirk - Thanks for another good catch. I just did a quick test in 3.2 and replicated the behavior. What's happening is that the display_name column (which is a cached value) is getting overwritten.

Issue filed here: http://issues.civicrm.org/jira/browse/CRM-6602
Protect your investment in CiviCRM by  becoming a Member!

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: Strange display name behavior on event registration
August 05, 2010, 07:16:28 pm
Sorry for not getting back sooner.  I would post the link to the event on the demo site, but it has been deleted and is apparently moot now anyway.

Thanks for filing the issue.

joemaine

  • I post occasionally
  • **
  • Posts: 114
  • Karma: 3
  • CiviCRM version: 4.1
  • CMS version: Drupal 7.14
  • MySQL version: 5.1
  • PHP version: 5.2
Re: Strange display name behavior on event registration
October 18, 2010, 02:50:33 pm
I have the same issue.

I've patched CRM/Contact/BAO/Individual.php  to rev 30122

...is there another file causing a conflict? ...I can't reproduce the issue on the demo site.

[RESOLUTION] - it appears that caching may have prevented the patch to resolve - registration now seems to function correctly.
« Last Edit: October 18, 2010, 05:05:01 pm by joemaine »
--
Joe

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Strange display name behavior on event registration

This forum was archived on 2017-11-26.