In case the physical image does not exist we get an error on the page, if we use the ResponsiveImage graphql field.

In our case, that image should be rendered inside a menu and since the rendering of the image failed, all lazy_builders, that should be executed after the menu block were not executed.

In our case, that leads to the problem, that all forms did not get their placeholder action replaced.

I will add a patch, that checks if the physical image really exists, before rendering it.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

megadesk3000 created an issue. See original summary.

megadesk3000’s picture

Patch added.

megadesk3000’s picture

Title: ResponsiveImage graphql field leads to problem,s if the physical image does not exist (anymore) » ResponsiveImage graphql field leads to problems, if the physical image does not exist (anymore)
Status: Active » Needs review

saschaeggi’s picture

Status: Needs review » Fixed
saschaeggi’s picture

Status: Fixed » Closed (fixed)

Included in 1.1 release