Problem/Motivation

When no bundle is selected in "Allowed bundles" all bundles should be eligible.

Steps to reproduce

* Go edit the display settings of a content entity with a entity reference revisions field.
* Select "Paragraphs enhanced summary" formatter for an entity reference revisions field.
* In the configuration form, don't select any bundle in the "Allowed bundles" section. Save.
* Formatter settings summary shows "Allowed bundles: All"
* Visit an entity of the corresponding type/bundle. No data is shown for the configured formatter.

Proposed resolution

Allow all when none selected.

Remaining tasks

Review and merge.

User interface changes

None.

API changes

None.

Data model changes

None.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jonhattan created an issue. See original summary.

jonhattan’s picture

Issue summary: View changes

opi made their first commit to this issue’s fork.

opi’s picture

Nice improvement, I've updated the field description accordingly and stared a merge train.

  • a0bedee5 committed on 1.x
    Issue #3576976: Allow all bundles when "Allowed bundles" is empty
    
opi’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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