Feeds support - enhance prepareTarget/prepareValue functions.

Created on 31 July 2023, 11 months ago
Updated 9 August 2023, 11 months ago

Problem/Motivation

Custom field types need to match core field types for data conversions and uniqueness property.

Steps to reproduce

Setup various custom field types in feed settings. For example, if a 'float' type field has a value of `null`, a validation error related to wrong primitive type will log and the feeds item will get skipped. We need to account for all scenarios and ensure successful imports. Additionally, certain field types (string, integer, decimal, etc...) should have ability to be marked as unique property in feeds settings. We can use the markPropertyUnique() method to handle this in a loop over the columns.

Proposed resolution

Update the plugin with necessary functions.

Remaining tasks

Provide a patch.

User interface changes

A checkbox will be present for some custom field types in the mapping configuration.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States apmsooner

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

Comments & Activities

Production build 0.69.0 2024