Closed d-pollard closed 2 years ago
hey @d-pollard any luck finding a solution for this? I'm running into the same issue
@aalbrecht17235 unfortunately not; I believe I ended up having to unset the filename or something of that nature
I set the unique key to the unique key of the CMS I was importing from; so had to create a text field in Craft just for that unique key
I am also having the same issue :(
Just released 5.0.4 with a fix for this.
Amazing work @angrybrad
Description
When importing into assets, filenames that contain the characters
(
&)
and duplicate symbols (characters, example--
turns into-
) seem to be either trimmed or removed entirely .This wouldn't be an issue, except that craft doesn't use their renamed filename, but rather, uses the one provided in FeedMe.
This leads to situations where the URL in craft for the asset is broken, and previews don't work for asset (which makes it easy to spot the culprits).
Example
Original file name:
booklist--700-x-460.jpg
Filename in S3 (imported by feedme):
booklist-700-x-460.jpg
Craft Asset file URL:
{BUCKET}/assets/booklist--700-x-460.jpg
Actual file URL:
{BUCKET}/assets/booklist-700-x-460.jpg
Steps to reproduce
booklist--700-x-460.jpg
Additional info