Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not importing related elements from CSV with data delimiter #1058

Closed
peteeveleigh opened this issue Nov 23, 2021 · 0 comments
Closed

Not importing related elements from CSV with data delimiter #1058

peteeveleigh opened this issue Nov 23, 2021 · 0 comments
Labels

Comments

@peteeveleigh
Copy link

peteeveleigh commented Nov 23, 2021

I'm running an import from a CSV file with a field that contains a pipe delimited list of product slugs. I have set the dataDelimiter to be "|"

An example of the field contents might be

5kg-5kg-gunmetal-micromax-2-grout-micromax-2-grout|5kg-bal-white-micromax-2-grout|5kg-bal-pebble-micromax-2-grout

The intended behaviour is for the slugs to be used to populated a Related Products field but none is being imported.
If I set the field to contain a single slug with no delimiters then that is not imported either.

I can see from the Feed-Me log that the slugs are being split up from the field but then the query being executed to find the matching element is returning no results.

Grouts and Accessories: Search for existing product with query {"status":null,"typeId":["6b6b280a-e92e-462d-bcca-0f06425b7c1b"],"limit":"","where":["=","slug","5kg-bal-pebble-micromax-2-grout"]}

Grouts and Accessories: Found 0 existing products: []

But there is a product with the slug 5kg-bal-pebble-micromax-2-grout and it is of the product type that matches the UUID shown (but should that be the typeId rather than the UUID?)

This site is currently on 3.6.9 so I'm using the latest Feed Me version that is supported, 4.3.6

Additional info

  • Craft CMS version: 3.6.9
  • Feed Me version: 4.3.6
olivierbon added a commit that referenced this issue Dec 10, 2021
angrybrad added a commit that referenced this issue Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants