Problem/Motivation

If all plugins are enabled, but all use their default value when editing the content, the output is empty.

Steps to reproduce

  1. Enable the module
  2. Create a simple view which display something
  3. Create a viewreference field, with all plugins enabled
  4. Create a new content and select the created view, but do not change anything on the options
  5. Save the page
  6. The view is not displayed

Proposed resolution

Fix this in the field formatter.

Remaining tasks

Update the code.

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

b-prod created an issue. See original summary.

b-prod’s picture

Status: Active » Needs review
anybody’s picture

scott_euser’s picture

Status: Needs review » Needs work

Looks like some failing tests, but to note I haven't reviewed in more detail

scott_euser’s picture

Priority: Critical » Normal
Status: Needs work » Needs review

Added test coverage which also uncovered a missing schema issue for the lazy formatter.

(Side note: Changing priority as there are valid workarounds I think + it doesn't render the module useless of course; so I don't think Critical is appropriate.)

damienmckenna changed the visibility of the branch 8.x-2.x to hidden.

  • scott_euser committed f568515a on 8.x-2.x authored by b-prod
    fix: #3573957 Default for all enabled plugins leads to empty output
    
    By...
scott_euser’s picture

Status: Needs review » Fixed

Resolved conflicts, reran tests, and merged. Thanks!

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.