This is a follow-up to #1863290: poll_node_info has D6 attribute 'has_body'. The content type definition in DrupalWebTestCase::drupalCreateContentType() contains two node attributes that were removed in D7: 'has_body' and 'body_label'. These two attributes should be completely unused and safe to remove.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joshi.rohit100’s picture

Status: Active » Needs review
FileSize
538 bytes

Done.

dcam’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, @joshi.rohit100!

This looks good to me. There are no more deprecated properties in the drupalCreateContentType() content type defaults array. I also didn't find any other instances of those properties outside of update functions and D6 upgrade path test test files.

David_Rothstein’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7.x - thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.