License fails to import with Expiration type error

Created on 25 October 2023, 8 months ago

Problem/Motivation

Trying to import Commerce License items as part of migrating a Drupal 7 Ubercart site to Drupal 9/10 and Commerce License.

Steps to reproduce

  • Create a CSV file with license info
  • Create a Feed type of License with appropriate mappings
  • Attempt to import from CSV

result is an error message:

The license Standard Member role license # failed to validate with the following errors:

Expiration type (expiration_type): This value should not be null.

Please check your mappings.

There is no expiration_type field available in Mappings.

However, an expiration type has been set for the product variation named in the import.

Proposed resolution

Either load the product variation and use its specified expiration type, or make the expiration type field available in Mappings.

Note: Possibly related to https://www.drupal.org/project/commerce_feeds/issues/3224476 β†’ .

Thank you!

πŸ› Bug report
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristi Wachter

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

Comments & Activities

Production build 0.69.0 2024