craftcms / feed-me

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

[4.x]: After Entrifying categories, existing Feed Me feeds break #1340

Open chrismlusk opened 1 year ago

chrismlusk commented 1 year ago

What happened?

Description

After Entrifying categories, Feed Me feeds that include a mapping to those categories stop working. I see the following error in my Feed Me logs:

Undefined array key 1 - Categories.php: 85

Fortunately, resaving the feed (no changes needed) resolved the issue for me, but this seems to be an oversight with entrification.

Steps to reproduce

  1. Have a Feed Me feed with a mapped category field.
  2. Use entrify/categories on that category.
  3. Attempt to run that feed.

Craft CMS version

4.4.14

PHP version

8.1

Installed plugins and versions

i-just commented 1 year ago

Hi, thanks for reporting! I have raised a PR that should help with this.

Fortunately, resaving the feed (no changes needed) resolved the issue for me, but this seems to be an oversight with entrification.

Yes, re-saving your feed without making any changes will do the trick because updated field types are grabbed and saved in the feed.