Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download feeds-7.x-2.0-beta5.tar.gztar.gz 898.87 KB
MD5: 4a210bc0270d7365c423e541640b86f1
SHA-1: 4f7e440907250761fd28e3c575f185f31a81556f
SHA-256: 388180335247ec94add99aba2fb96430f8ec0b35487a3fa45d3b52f2bd8c408f
Download feeds-7.x-2.0-beta5.zipzip 1005.21 KB
MD5: 6e1c1e070595c204c177caef0f6d41c6
SHA-1: 952a64619cdf382b6a7aa372cdfe52aac0912672
SHA-256: 0ed4bea4bd125ccb4153f399a796353b8b2689af0645f821031d25f441f594cb

Release notes

Improvements for field validation issues; account switch to the feed author or user 1; better PHP 7.2+ support; feeds_alter() removed.

Be sure to test your imports before using this release in production! There might be unforeseen regressions.

Major changes in this release

Imports are ran as the feed author or user 1

When running imports, Feeds now switches to a different user. This is done to reduce field validation issues and to minimize the difference in (validation) results between importing using the UI and importing using cron.

  • When attaching the importer to a content type, Feeds switches to the author of the feed node. If the author is anonymous, Feeds switches to user 1 instead.
  • When using the standalone import form, Feeds switches to user 1.
  • When the "Authorize" option is checked (setting for the node processor), an extra account switch happens for every item that gets imported. Feeds then switches to the author of the item.

While test coverage exists to make sure Feeds switches back after it's done, this change could in theory have regressions.

Improvements for field validation issues

Some improvements have been made to fix common field validation issues (that were introduced in 7.x-2.0-beta4). The following improvements have been made:

  • Feeds now only validates mapped fields.
  • Less validation issues for Organic Groups reference fields.
  • A hook called hook_feeds_prevalidate() has been added to workaround validation issues: with that hook you can fix up the entity being imported right before it is validated.

PHP 7.2+ support

Most issues have been fixed that caused PHP notices or warnings on PHP 7.2 and above. You do may still get PHP notices/warnings when using the Date module. These issues may be fixed in the Date 7.x-2.11-beta3 release however. If not, please help on #2867810: Plan for Date 7.x-2.11 release!

Function feeds_alter() is removed

This function was deprecated 6 years ago and was removed because it did not work properly on recent PHP versions.

The signature of FeedsProcessor::entityValidate() changed

The signature of the method FeedsProcessor::entityValidate() changed. It now has a second optional parameter. If you override this method in your module, you need to update the parameters so that it matches with FeedsProcessor::entityValidate().
See the change record for details.

Contributors (49)

MegaChriz, RavindraSingh, joelpittet, twistor, _Geertje, NWOM, DamienMcKenna, Spokje, ravikk-drupal, Rajat Charde, knyshuk.vova, Dave Reid, sdrycroft, devdesagar, cosmicdreams, ruyakhokhar, Karishma Rawat, pcambra, colan, febbraro, robert.laszlo, johnv, naught101, BarisW, yched, pbuyle, emptyvoid, VladimirAus, ansergeyg, bwood, mradcliffe, wylbur, blackbull77, jacob.embree, GuyPaddock, rsbecker, dpw, Toki, dat deaf drupaler, markusd1984, Jason Dean, sicher, donquixote, walkerasindave, rooby, Anas_maw, jesss, Cyrilovich, michel.g

Changelog

Issues: 25 issues resolved.

Changes since 7.x-2.0-beta4:

Bug

Feature

Task

Created by: MegaChriz
Created on: 13 Aug 2020 at 15:07 UTC
Last updated: 7 Sep 2020 at 14:51 UTC
Bug fixes
New features

Other releases