Problem/Motivation

When importing items that are not entities, Feeds reports that the configured bundle does not exist. This is because in such situation FeedsProcessor::bundleOptions() returns no options. At the same time though FeedsProcessor::configDefaults() autosets the bundle setting equal to the processor's entity type, which a processor is required to define because of the abstract FeedsProcessor::entityType() method. So this results that there is in fact a bundle setting under the hood.

Proposed resolution

Do not display the warning when the bundle setting is not configurable.

Patch will follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MegaChriz created an issue. See original summary.

MegaChriz’s picture

Status: Active » Needs review
FileSize
705 bytes

  • MegaChriz committed e7806fe on 7.x-2.x
    Issue #2911282 by MegaChriz: Fixed do not show bundle warning for non-...
MegaChriz’s picture

Status: Needs review » Fixed

Committed #2.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.