I updated the views module today to 5.x-1.6 and all of my views which included the node:body field from a cck node broke. Instead of displaying the text in the body field, it inserted a full node view.

I backed out to the old views module back to 5.x-1.5 and the problem disappeared.

More specifically, what I have is a cck type with a couple images, the title, and body. I created a view to display nodes of this type in a table. In the view, the fields I display are: the two images and node:body. What I get is a table with my two images plus a full-node view containing again my two images, title, body, and all the field names. If I delete the node:body from my view, I get only the two images. So it's pretty clear that the node:body is inserting the full node where it should only be inserting the body text.

I was running drupal 5.1, while trying to figure out what was wrong, I updated to 5.7 and the view problem persisted, so it does not appear to be related to the version of drupal itself.

I also updated the cck module from 5.x-1.4 to 5.x-1.7.

CommentFileSizeAuthor
#1 views-DRUPAL-5.node-body.patch2.33 KBsun
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sun’s picture

Title: node:body field inserts entire node in view » Node: Body outputs entire full node body instead of Body field
Assigned: Unassigned » sun
Status: Active » Needs review
FileSize
2.33 KB

Same issue here. Attached patch fixes this by adding separate views field handlers for a node's plain body/teaser.

sun’s picture

Component: Code » node data
sun’s picture

Title: Node: Body outputs entire full node body instead of Body field » node:body field inserts entire node in view
Status: Needs review » Closed (duplicate)