craftcms / feed-me

Craft CMS plugin for importing entry data from XML, RSS or ATOM feeds—routine task or on-demand.
Other
288 stars 139 forks source link

handle entrified categories and tags fields #1346

Closed i-just closed 1 year ago

i-just commented 1 year ago

Description

If Categories or Tags have been entrified, the fields could have been changed to Entries field, but the feed still refers to them by their original type. Because of that, check if the field we got by handle matches the type saved in the feed, and if it doesn’t, use the Entries field type.

Once the feed is saved after entrification, the field type gets updated, so the code that changes the field type won’t be executed anymore.

(Just for Craft 4.)

Related issues

1340