Hello,

Do importers (feeds) created on D6 are migrated to D9 with the migrate module or do I need to recreate them after ?

Thanks

Comments

aiphes created an issue.

megachriz’s picture

There doesn’t exist a migration to migrate importers and feed nodes from Drupal 6 to Drupal 9.

There has however been some work done to migrate them from Drupal 7:
#3008991: Migrate feeds content from Drupal 7
If I remember well, the data structure of Feeds importers between the D6 and the D7 version were quite similar.

Unless you have a lot of Feeds importers, I think it would be faster to recreate them from scratch in the Drupal 9 site. I haven’t tested the patch from the other issue, so it could be that it only partly migrates the configuration, especially if you used Feeds in D6 with contributed modules that extended Feeds.

aiphes’s picture

Thanks I will recreate them from scratch, because I have less than 10.

aiphes’s picture

Back in. ;) After recreating Feeds, I would to add a Feed but I get this message:

Deprecated function: Function libxml_disable_entity_loader() is deprecated in Drupal\feeds\Utility\Feed::findFeed() (line 72 of modules/contrib/feeds/src/Utility/Feed.php).
Drupal\feeds\Utility\Feed::findFeed('https://www.lkjf.com/export-actus-er-d8.xml', '<?xml version="1.0"?>

xml example: https://www.lycee-marie-gasquet.eu/fr/export-actus-d8-mg.xml

Seem to be an encoder issue but when I try another parser type, the parser tab is still empty with xml parsers.
Here are my modules:

Feeds     Feeds (feeds)                         Enabled   8.x-3.0-beta1  
  Feeds     Feeds Extensible Parsers (feeds_ex)   Enabled                  
  Feeds     Feeds Tamper (feeds_tamper)           Enabled   8.x-2.0-beta2 

Thanks

megachriz’s picture

@aiphes
That's an issue with PHP 8.1. Support for PHP 8.1 is fixed in dev. I hope to create a new release either this month or next month. I'm working on a few things that I'd like to include in the next release as well.

aiphes’s picture

This explain the issue, because my dev website run on PHP7.4. So I go to change PHP8 for PHP7.4 on Prod website in waiting.