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
  • #4227

Contact import (new) deletes contact fields

Overview

It seems like the "new importer" that has been implemented with 5.51 has slightly changed its behaviour: if you import/update contacts with empty fields these fields will be deleted, where they used to be ignored (pre 5.51).

Reproduction steps

  1. Import test contact using the "Import Contacts" menu item with this file and check whether the contact was created.
  2. Update the contact by using the import again with this file, setting the "For Duplicate Contacts" setting to "Update"
  3. Observe, that the birthday field in the new contact was deleted.

Current behaviour

Currently, the contact's birthday field is deleted.

Expected behaviour

Contact's birthday field should be left untouched, as was the behaviour pre 5.51.0 (tested with 5.40.2).

Environment information

Reproduced on dmaster.


This might be an intentional change in behaviour, but I haven't found any documentation on this.

Edited Apr 11, 2023 by Björn Endres
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking