Per the API docs the 'has_body' attribute is no longer defined.

Instead, you are supposed to do:node_add_body_field() somewhere in poll.install. In this case, it is not necessary to add a body field; the (erroneous) 'has_body' attribute is FALSE anyway.

So, the fix is to remove that attribute from the array on line 194.

Files: 
CommentFileSizeAuthor
#4 drupal-poll_delete_has_body_attribute-1863290.patch535 bytesvomiand
PASSED: [[SimpleTest]]: [MySQL] 40,439 pass(es).
[ View ]
#1 poll_patch_delete_has_body_attribute.patch534 byteswoprrr
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch poll_patch_delete_has_body_attribute.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Comments

StatusFileSize
new534 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch poll_patch_delete_has_body_attribute.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

The row is deleted, the installation of a body is not useful here it is sufficient to create a field directly from the interface if needed

Status:Active» Needs review

Status:Needs review» Needs work

The last submitted patch, poll_patch_delete_has_body_attribute.patch, failed testing.

Status:Needs work» Needs review
Issue tags:-Novice
StatusFileSize
new535 bytes
PASSED: [[SimpleTest]]: [MySQL] 40,439 pass(es).
[ View ]

Removed the has_body attribute from the array on line 194.