Workaround for core bug #2897377 not needed , causes bug

Created on 7 March 2024, 4 months ago
Updated 13 May 2024, about 2 months ago

Hi, this is in CheckoutFlow With BasePanes.php , this has a work around for a bug , but that bug has been fixed as of drupal 10.1.8 - now its giving me an error - how can this be modified to work with drupal 10.1.8 and above?

Describe your bug or feature request.

$form[$pane_id] = [
// Workaround for core bug #2897377.
'#id' => Html::getId('edit-' . $pane_id),
'#parents' => [$pane_id],
'#theme' => 'commerce_checkout_pane',
'#type' => $pane->getWrapperElement(),
'#title' => $pane->getDisplayLabel(),
'#attributes' => [
'class' => ['checkout-pane', 'checkout-pane-' . str_replace('_', '-', $pane_id)],
],
'#pane_id' => $pane_id,
];

If a bug, provide steps to reproduce it from a clean install.

🐛 Bug report
Status

Postponed: needs info

Version

2.0

Component

Checkout

Created by

🇺🇸United States dianacastillo Miami

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

Comments & Activities

Production build 0.69.0 2024