Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | feeds-bundle-config-warning-2911282-2.patch | 705 bytes | MegaChriz |
|
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz commentedComment #4
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedCommitted #2.