Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-984

Multi-select custom data shows values not lables in drupal user record [Ref: CRM-967]

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None

      Description

      Hi ,

      I just installed crvicrm latest v1.4 rev5482M on my drupal 4.7. Previously i had some problem with Multi-select custom data used in civicrm profile in drupal user record. This was solved in Issue CRM-967. Thanks for that. Now i still find a small bug in this fixing. The thing is when i edit the the profile using drupal (my account), and save it, the "values" of "custom fields options" in that custom data field (which is multi-select) is shown in drupal user record where as "lables" of the same custom field options are shown in civicrm part of "Contact records". let me copy paste what it is showing both places:

      In Drupal user record:

      Corporate Details
      Organisation Name Think
      Website URL http://think
      Year of Establishment January 1st, 1873
      Number of Employees 6 - 20
      Turnover of Company
      Industry Type Software B2B , Sports Leisure InfrastructureTextiles Interior Textiles
      Nature of Business Dealers / RetailersWholesale Suppliers / Distributor
      Business Profile N/A
      Collaborations N/A

      In Civicrm part of Contact record of same user:

      Corporate Detail

      Organisation Name Think
      Website URL http://think
      Year of Establishment 1873
      Number of Employees 6 - 20
      Turnover of Company GBP 5 to 10 Million (or Rs. 25 to 50 Crore)
      Industry Type Software & Computer Services B2B, Sports & Leisure Infrastructure, Textiles, Interior Textiles & Carpets
      Nature of Business Dealers / Retailers, Wholesale Suppliers / Distributor
      Business Profile N/A
      Collaborations N/A

      Now the difference between the two records as i can see are as following:

      1. "Industry type" is multi-select. Its field option values are shown in drupal, where as field option labels are shown in civicrm
      2. "Turnover of Company" value is missing in drupal section. Maybe because its "field option values" are big integers, where its field option lables are shown in civicrm part
      3. "Year of estishblishment" is "date" type. Its month and day is missing from civicrm section where as the same is shown in drupal section.

      Atleast i think data is not loosing anywhere this time, some way or other it is shown at least at one place. Thats a good thing. Thanks for putting so much efforts.

      regards,
      --rafi

        Attachments

          Activity

            People

            • Assignee:
              anil Anil Kokitkar
              Reporter:
              chaos21in Rafi Ahmad
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: