Dedicated cart page: commerce_cart binding claims <main> and overlaps the checkout commerce_cart_link binding
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by tracing how the commerce_cart and commerce_cart_link bindings are produced for dedicated cart pages, then read the related fixes in #6302 and #6532. Reproduce with the ranges in website/cart/index.html and inspect the binding preflight mentioned in the issue. Done means the cart page imports without overlapping bindings, with the conflict resolved where the bindings are produced.
索引モデルが issue の本文から書いたものです。
説明
Summary
On a Shopify store's dedicated /cart page, the commerce_cart binding claims the whole <main id="MainContent">. The checkout button inside it also gets its own commerce_cart_link binding. SSI's runtime binding preflight rejects the overlap, and the whole import fails:
static_site_importer_runtime_binding_claim_conflict: Provider entity bindings claim overlapping canonical source-page ranges.
This follows on from #6302 / #6532. That fix stops the cart scope before containers of page landmarks. On a dedicated cart page, the scope still lands on the <main> landmark itself, which contains the cart-link anchor.
Reproduction
https://neurodivergentle.com/, a Shopify store, imported on SSI 1.39.38. It also failed in production on 2026-11-29 (SSI 1.39.2x).website/cart/index.html:carts/commerce_cartbinding: range 68187–85525, thewp:groupMainContent<main>.cart_links/commerce_cart_linkbinding: range 78516–79941,wp:buttonanchor:"checkout"(type:"submit"), selectormain > … > button. This is inside the cart range.
- The binding ranges were captured by temporary logging in
Static_Site_Importer_Runtime_Entity_Binding_Validation::preflight_runtime_entity_binding_anchors().
Expected
Bindings from one source page never overlap, and the cart page imports. Pick whichever of these is cleaner at the owning layer:
- A cart-link anchor inside a resolved cart scope belongs to that cart, because the native cart block renders its own checkout. Don't emit it as a separate binding.
- Or narrow the cart scope so it excludes independently bound controls.
Overlapping provider bindings should be resolved where they are produced, not left for the SSI preflight to reject the entire import.
- 主要言語
- PHP
- スター
- 31
- フォーク
- 7
- 平均マージ
- 5時間 48分
- マージ済み PR(30日)
- 796
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Automattic/blocks-engine のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Automattic/blocks-engine#4943 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Automattic/blocks-engine#4942 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Automattic/blocks-engine#4921 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Automattic/blocks-engine#775 ·
メンテナーはふだん 1 日以内に返信
-
perf: a full CSS syntax memo stops memoizing, so per-route stylesheet passes re-split the same selectors (asset_writes, 56-page import)対応中かも @chubes4 が 1 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Automattic/blocks-engine#7655 ·
メンテナーはふだん 1 日以内に返信
Automattic/blocks-engine の issue をすべて見る
似ている issue
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.phpオープンenhancement feature: settings good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
nextcloud/integration_openai#480 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
a11y
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
omeka/plugin-Contribution#84 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
recca0120/vscode-phpunit#620 ·
メンテナーはふだん 1 日以内に返信