Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A Advanced Import
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Extensions
  • Advanced Import
  • Issues
  • #5
Closed
Open
Issue created Dec 11, 2020 by Rich@artfulrobotReporter

Mapping not working?

Apologies if I've miunderstood.

Given a CSV file like this:

Given Name,Fave colour
Rich,cyan

And a getMapping() that returns

[
   'first_name' => [
      'label' => 'First Name',
      'field' => 'first_name',
      'aliases' => ['given name'],
    ],
    'colour' => [
       'label' => 'Favourite Colour',
       'field' => 'colour',
    ]
]

I thought I'd be dealing with rows including first_name and colour? But I get given_name and fave_colour?

Which suggests the mapping is not being applied?

Assignee
Assign to
Time tracking