You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing into assets field - max relations limit is not respected. For example, if you have an assets field with max relations set to 1 and you have 3 assets mapped to that field, all 3 will be imported and related to the field.
Steps to reproduce
create an assets field with max relations set to 1
add that field to a section element type
create a feed and map that assets field
run import and see that all images from the feed were imported, ignoring the max relations limit
Example feed:
{
"entries": {
"title": "my test entry",
"photos": [
"<url>/puppy-chew-toy1.jpg",
"<url>/puppies.jpeg"
],
}
}
Additional info
Craft version: 4.4.16.1
PHP version: 8.1
Database driver & version: N/A
Plugins & versions: Feed Me 5.2.0
The text was updated successfully, but these errors were encountered:
Description
Importing into assets field - max relations limit is not respected. For example, if you have an assets field with max relations set to 1 and you have 3 assets mapped to that field, all 3 will be imported and related to the field.
Steps to reproduce
Example feed:
Additional info
The text was updated successfully, but these errors were encountered: