Problem/Motivation

I noticed that there can be the case that the "responsive_image_style" setting is empty. This triggers an error.

The issue is in "umf/src/Plugin/Field/FieldFormatter/UniversalMediaFormatter.php" line 296.
A check might be required:
$responsive_image_style = $this->responsiveImageStyleStorage->load($this->getSetting('responsive_image_style'));

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork umf-3530955

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

ayrmax created an issue. See original summary.

dhruv.mittal’s picture

Assigned: Unassigned » dhruv.mittal

dhruv.mittal’s picture

Assigned: dhruv.mittal » Unassigned
Status: Active » Needs review

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

ayrmax’s picture

Status: Needs review » Fixed

Thanks, its merged.

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.

ayrmax’s picture

Status: Fixed » Closed (fixed)