- Issue created by @stefdewa
When you configure a view to use a pattern as view style, and map the 'View rows' to a slot. You can get an error like
Exception: Object of type Drupal\commerce_product\Entity\Product cannot be printed. in Drupal\Core\Template\TwigExtension->escapeFilter() (line 459 of core/lib/Drupal/Core/Template/TwigExtension.php).
I found that function isSingletonRenderArray wrongfully removes the array surrounding the single views result row.
In our pattern, we loop over the slot to which the 'View rows' are mapped, resulting in the mentioned error.
Active
2.0
Code