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.
In node.module, line 572 there is this definition when creating the body instance:
'widget_type' => 'text_textarea_with_summary',
it should be
'widget' => array(
'type' => 'text_textarea_with_summary',
),
Comment | File | Size | Author |
---|---|---|---|
#1 | node.patch | 553 bytes | droplet |
Comments
Comment #1
droplet CreditAttribution: droplet commentedoh.it's not easy to catch it. patch base on your comment.
Comment #2
yched CreditAttribution: yched commentedUgh, right. The 'text_textarea_with_summary' widget is the default widget for the 'text_with_summary' field type, so the fields end up with the expected widget anyway, but this should be fixed. Also means that no test need to be fixed or added for that.
Comment #3
yched CreditAttribution: yched commentedActually, needs to get in d8 first.
Comment #4
Dries CreditAttribution: Dries commentedCommitted to 7.x and 8.x. Thanks.
I read up on the code to understand what is going on -- not trivial! :/