feed-me icon indicating copy to clipboard operation
feed-me copied to clipboard

Error query for default value field

Open ipatate opened this issue 3 years ago • 1 comments

Description

I select a default value for a field imported but apparently the query use {"status":null,"groupId":5,"limit":"1","where":["=","slug",["10100"]]}

slug with a id in where condition !

Steps to reproduce

  1. select a default value for a field
  2. the field use slug for corresponding with value imported
  3. import json with a null value for this field

Additional info

  • Craft CMS version: 3.7.37
  • Feed Me version: 4.4.2
  • PHP version: 8.0.16
  • Database driver & version:
  • Other plugins & versions:

ipatate avatar Mar 17 '22 12:03 ipatate

Screenshot 2022-03-17 at 13 41 36

ipatate avatar Mar 17 '22 12:03 ipatate

Resolved in https://github.com/craftcms/feed-me/pull/1229

angrybrad avatar Feb 14 '23 00:02 angrybrad

Feed Me 4.6.0 (Craft 3) and 5.1.0 (Craft 4) have been released with the fix for this.

brandonkelly avatar Mar 17 '23 21:03 brandonkelly