-
Notifications
You must be signed in to change notification settings - Fork 139
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
preg_match() type error when setting default for asset field #1195
Comments
Also experiencing this bug. |
Hi, thanks for reporting. I need help replicating this issue. I tried a JSON feed for entry import with add & update strategy; my asset field has access to all volumes and is a standalone field (not embedded in a matrix or anything like that). Could anyone please give me some more info on how I can reproduce this? |
@i-just I don't have that environment setup any more, but as I recall I was just trying to assign a default image to an asset field. I don't recall if the asset was in an Matrix or stand alone. My source was a Google Sheet if that matters. |
Resolved in #1229 |
Feed Me 4.6.0 (Craft 3) and 5.1.0 (Craft 4) have been released with the fix for this. |
Description
When running an entry import that has a default asset set for an asset field I get this error:
It's from line 133 of feed-me/src/fields/Assets.php
Steps to reproduce
If you remove the default file setting the import works.
Additional info
The text was updated successfully, but these errors were encountered: