Bigpipe doesn't work, blocks with Commerce products disappeared.

Created on 21 June 2024, 5 months ago
Updated 12 September 2024, 2 months ago

Problem/Motivation

Blocks with Commerce products & form "Add to cart" on some products not displaying
Drupal 10.2.6 with Drupal Commerce.

1. I have a view from Views with block. It must dispaying all commerce products on a front page, but it doesn't work.
HTML output of this block:

<span data-big-pipe-placeholder-id="callback=Drupal%5Cblock%5CBlockViewBuilder%3A%3AlazyBuilder&amp;args%5B0%5D=views_block__frontpage_products_block_1&amp;args%5B1%5D=full&amp;args%5B2%5D&amp;token=ASqtYUsg34Tt0QgwBdweGeBB2vj6r50LC9lj4QaMtMk">

<!-- THEME DEBUG -->
<!-- THEME HOOK: 'big_pipe_interface_preview' -->
<!-- FILE NAME SUGGESTIONS:
   * big-pipe-interface-preview--block--full.html.twig
   * big-pipe-interface-preview--block--views-block--frontpage-products-block-1.html.twig
   * big-pipe-interface-preview--block.html.twig
   x big-pipe-interface-preview.html.twig
-->
<!-- BEGIN OUTPUT from 'core/modules/big_pipe/templates/big-pipe-interface-preview.html.twig' -->


<!-- END OUTPUT from 'core/modules/big_pipe/templates/big-pipe-interface-preview.html.twig' -->

</span>

2. On teaser view mode disappeared form "Add to cart" for many products with variations (1-3 variation per product). But form add to cart with some products without variations works as usual.

Steps to reproduce

Install Drupal 10.2.6 & Commerce module. Add some products. Add 2-4 variations per product.
Add View with block, that displaying all products with form exposed filter. Go to admin blocks and add "display on pages: ""

All this problems fly away when disable module bigpipe.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
BigPipeΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡§πŸ‡ΎBelarus VasiliyRepin Minsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024