Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
See screenshot. For some reason the $pane_row['configuration'] colspan is not used, so the form ends up using only one column.
Comment | File | Size | Author |
---|---|---|---|
#4 | fix_checkout_flow_settings_colspan_issue-2715561-4.patch | 706 bytes | agoradesign |
bug.png | 231.89 KB | bojanz |
Comments
Comment #2
agoradesign CreditAttribution: agoradesign commentedI actually can't save the settings, getting this error:
Fatal error: Call to a member function submitConfigurationForm() on integer in /var/www/drupalvm/web/modules/commerce/modules/checkout/src/Plugin/Commerce/CheckoutFlow/CheckoutFlowWithPanesBase.php on line 457
I could swear, that I've already successfully changed settings via UI yesterday!?!
Comment #3
agoradesign CreditAttribution: agoradesign commentedComment #4
agoradesign CreditAttribution: agoradesign commentedAttached is the patch that fixes the colspan issue.
It turned out, that comment #2 only happens with my custom panes enabled, not with the default ones. Should the cause of that problem also be in Commerce, I'll open a new bug report anyway.
edit: the problem turned out to be fully my fault. And the root of the problem turned out to be a very unobvious and strange one. I've decided to write that down in a blog post, as that was really a mean trap, I've built myself and fallen into: http://www.agoradesign.at/blog/why-it-bad-idea-function-calls-injected-s...
Comment #6
bojanz CreditAttribution: bojanz commentedCommitted, thanks!