Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • CiviCRM Core CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 1k
    • Issues 1k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DevelopmentDevelopment
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #1204

Data import for custom membership fields is done as text Instead of value

Data import for custom membership fields is done as text Instead of value. The same works for contact custom data.

Steps to replicate :

  • Create a custom data used for Membership having Data Field with Alphanumeric and Field Type Autocomplete-Select
  • The values in the look up should be numeric.
  • Try to update the membership record using import for the custom field with text not the value.
  • Check the field in DB, the data is imported but stored as text not value - so this doesn't show up in the UI.

I was able to replicate this on dmaster.

Option value optio

Import

import

Final value in database mem_Record

Edited Aug 23, 2019 by yashodha
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking