Skip to content
GitLab
  • Menu
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 1,444
    • Issues 1,444
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • CiviCRM CoreCiviCRM Core
  • Issues
  • #1819
Closed
Open
Created Jun 14, 2020 by blipp@blipp

Membership import does not accept "tab" as import field separator but interprets it as the character “t”

Overview

In membership import, the help text mentions that users can enter tab (literally those three characters) as “Import Field Separator” to configure it for tab-separated CSV files (see Screenshot 3 below). However, the system instead ends up using the single character t as field separator, which leads to some funny column titles (see Screenshots 1 and 2). Copying an actual tab character into the “Import Field Separator” field works to let the system recognize tabs.

Interestingly, this bug is not present in contacts import, whose user interface looks exactly the same as the membership import.

Reproduction steps

  1. Click on Memberships -> Import Memberships.
  2. Use for example this tab-separated file test_bug_tab.csv as an example.
  3. Activate First row contains column headers
  4. Enter tab into the field Import Field Separator
  5. Click Continue

Current behaviour

As visible in Screenshot 1 and Screenshot 2 below, the cells (column titles and content) are split at every occurrence of the character t.

Expected behaviour

Cells (column titles and content) should be split at every occurrence of a tab. For example, the first column should be “id”, the second “Mitgliedsnummer”, and not “id Mi” and “gliedsnummer Ti”.

Environment information

Tested on https://demo.tadpole.cc and https://demo.symbiotic.coop with

  • Browser: Firefox 77.0.1
  • CiviCRM: 5.26.1
  • CMS: Drupal, WordPress

Screenshot 1: Tested on the Wordpress+CiviCRM 5 demo instance https://demo.tadpole.cc : Screenshot_from_2020-06-13_22-06-25

Screenshot 2: Tested on the Drupal+CiviCRM 5 demo instance https://demo.symbiotic.coop : Screenshot_from_2020-06-13_22-06-34

Screenshot 3: This shows the help text mentioning "tab" (without quotes): Screenshot_from_2020-06-13_22-07-50

Comments

The https://demo.symbiotic.coop demo instance is not displaying its exact CiviCRM version number. Maybe they could add this?

Edited Jun 14, 2020 by blipp
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking