feed-me
feed-me copied to clipboard
Asset import with filename from path - filename cannot be used as unique identifier
Description
When importing images, I leave the "Filename" field blank. However, I want to use the system-assigned filename generated from the path as a unique identifier. But this is not possible, because the following error is triggered: Unable to match an existing element. Have you set a unique identifier for ["filename"]? Make sure you are also mapping this in your feed and it has a value. - Element.php: 172.
Steps to reproduce
- Set up feed to import assets with strategy create new ans update existing
- Map URL to image path and leave filename to don't import
- Set unique identifier to "Filename"
- run feed
- Look in Logs
Additional info
- Craft version: 4.0.4
- PHP version: 8.0.18
- Plugin version: 5.0.4