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.
theme_field_ui_table()
expects $variables['elements']['#regions'][...]['rows_order']
to be an array, but if an entity type has no fields, this array key is not set by \Drupal\field_ui\FieldOverview::buildForm()
, causing an undefined index error.
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal_2203271_1.patch | 775 bytes | Xano |
Comments
Comment #1
XanoI confirmed that the patch works for Payment, of which \Drupal\payment\Tests\Controller\PaymentTypeWebTest failed because of this.
Comment #2
BerdirFix looks valid and suddenly HEAD is failing with this too?
Comment #3
alexpottCommitted a457090 and pushed to 8.x. Thanks!
Comment #4
YesCT CreditAttribution: YesCT commentedwas the head fail traced back to #2193609: No page title on manage display & form for non-default view mode ? and it's change in using account settings instead of node for a test?
Comment #5
BerdirYes, I did trace it back. There's nothing wrong with that issue, other than it somehow conflicted with another issue that apparently changed the code in a way that results in those noticed. Just bad timing :)