feed-me
feed-me copied to clipboard
dataDelimiter is not taken into account during asset import
Description
When importing assets with absolute paths in a cell separated by a dataDelimiter, the path is not recognized because the explode with the dataDelimiter does not work. We have tested this with JSON, CSV and Google Sheet. In the config file we have defined the dataDelimiter.
Asset error: https://exped.rokka.io/product_teaser-500/options-dpr-2/aed85416d64dda104297604357e59765b743de87/Comfort_Wmns_frontal_0.png-|||-https://exped.rokka.io/product_teaser-500/options-dpr-2/52c456c6faa970c9cd3c313f253b2abc733f4d08/Comfort_-5_Wmns.png - fopen(https://exped.rokka.io/product_teaser-500/options-dpr-2/aed85416d64dda104297604357e59765b743de87/Comfort_Wmns_frontal_0.png-|||-https://exped.rokka.io/product_teaser-500/options-dpr-2/52c456c6faa970c9cd3c313f253b2abc733f4d08/Comfort_-5_Wmns.png): Failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
Steps to reproduce
- Create a CSV, JSON or Google Sheet file with the columns Title and Path
- Add two absollute image paths and separate them with the defined dataDelimiter. We have tested the following delimiters: |, -|-, -|||-
- Create a feed with strategy create new and update existing
- Map Title and Path
- Set unique identifier to Title
- Import the feed
Additional info
- Craft version: 4.0.4
- PHP version: 8.0.18
- Plugins & versions: 5.0.4