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 the "Current Employer" field in individual contacts
Pages: [1]

Author Topic: Editing the "Current Employer" field in individual contacts  (Read 1405 times)

jobewan

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Editing the "Current Employer" field in individual contacts
July 21, 2009, 11:41:25 am
Hello all,

I am having a very odd behavior from my system when either pasting in or hand entering company information in the "Current Employer" field in the individual contact edit view.

The field will accept short entries - less than say, 12 characters.  If I add something longer and save, the field appears empty once the edit screen is reopened.  I can incrementally add characters a little at a time and save, but at some point, I lose the ability to edit the entry.

Even stranger is that it seems like it will indeed take longer entries in some instances, as long as I have not entered that exact same entry one or more times before, so that it is not in the autocomplete dropdown of the browser (IE and FF both).

And of course stranger still is that I can type in something like "ABCD", and it will not take.  But if I go back and change it to "AB", it takes.  If I add one letter and make it "ABC", it takes sometimes, and sometimes not.   ?!?

ALMOST forgot to mention that the field itself does not appear anywhere on the Summary tab of the Contact View.

CiviCRM 2.0.6
Drupal 5.7
MySQL 4.X
PHP 5

Any help will be gratefully received,

-Joe
« Last Edit: July 21, 2009, 12:09:14 pm by jobewan »

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 the "Current Employer" field in individual contacts
July 21, 2009, 09:49:36 pm

we've fixed quite a few issues with the current employer code in 2.1.x and 2.2.x. Your best bet would be to upgrade. i think debugging the 2.0.x code and trying to figure out what is happening and why will not be trivial

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

jobewan

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Editing the "Current Employer" field in individual contacts
July 21, 2009, 10:09:45 pm
Thanks Donald!

I didn't install this copy of CiviCRM, and there is some integration w/Drupal for purposes of controlling access to member-only content.  I am concerned that upgrading might upset that apple cart.

Regardless, would you have any suggestions as to the best way to perform an upgrade?

-Joe

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 the "Current Employer" field in individual contacts
July 21, 2009, 10:19:24 pm

i dont think we can offer a lot of advice regarding the upgrade other than do it on a copy of the site the first few times :)

u'll need to upgrade both drupal and civicrm

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

jobewan

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Editing the "Current Employer" field in individual contacts
July 23, 2009, 09:54:30 am
I understand.  (=.   There isn't much time for learning how to install/upgrade right now, so I am going to opt for using a custom field and swap functions between it and the "Current Employer" field for now.

On a somewhat related note, do you know where I can find the data field for the "Don't Trade" checkbox?  I don't see it in the database/tables on first blush.  I need to hinge a selection criteria condition off of it in a PHP report.

Thanks again, lobo.

-Joe

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 the "Current Employer" field in individual contacts
July 23, 2009, 10:28:47 am

civicrm_contact, column do_not_trade

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Editing the "Current Employer" field in individual contacts

This forum was archived on 2017-11-26.