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.
Comment | File | Size | Author |
---|---|---|---|
#1 | views-DRUPAL-5.node-body.patch | 2.33 KB | sun |
Comments
Comment #1
sunSame issue here. Attached patch fixes this by adding separate views field handlers for a node's plain body/teaser.
Comment #2
sunComment #3
sunMarking as duplicate of #160641: Node: Body outputs entire full node body instead of Body field