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 commentedoh.it's not easy to catch it. patch base on your comment.
Comment #2
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 commentedActually, needs to get in d8 first.
Comment #4
dries commentedCommitted to 7.x and 8.x. Thanks.
I read up on the code to understand what is going on -- not trivial! :/