Feeds integration: set country code to the default when no value is provided for it

Created on 14 November 2022, over 1 year ago
Updated 10 August 2023, 11 months ago

Problem/Motivation

From #2882589: Feeds module support β†’ Mapping for address field is working, but not importing without a Country code (field in import settings Address (field_address): The two-letter country code)

Tested with Drupal 9.4.6, Address 8.x-1.11, Feeds.

Steps to reproduce

Import address data and check if you can import without Country code / with country code

This is link to gitpod instance with configured feed https://gitpod.io#snapshot/434c41a4-528d-4d1f-8e4a-9104e6a33da4

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States irinaz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡«πŸ‡·France PhilY πŸ‡ͺπŸ‡ΊπŸ‡«πŸ‡· Paris, France

    I can imagine that if you don't import a country, all your adresses belong to the same one.
    So, If ever you're combining Tamper with Feeds, you can use it to set a default country code value.

  • First commit to issue fork.
  • πŸ‡³πŸ‡±Netherlands MegaChriz

    I move this issue over to Address issue queue as the implementation is there.

Production build 0.69.0 2024