The settings for the field rendered_node* have three settings: Show Entity Label, Show Entity ID, Show Complete Entity. For the first 2, there's an additional checkbox "Link To Entity", which makes the name/ID a link to the node.

If you choose "Show Complete Entity" the Link checkbox disappears, but it still affects the output of the field, putting all kinds of crazy empty <a> tags throughout the rendered field.

(After much investigation I spotted that checkbox under a setting I wasn't using, unchecked it, then switched back to Show Complete Entity and all was well again. Which was swell because the alternative involved a hammer and my monitor.)

* My new favorite feature in Views!

Comments

dawehner’s picture

Project: Views (for Drupal 7) » Entity API
Version: 7.x-3.3 » 7.x-1.x-dev
Component: User interface » Views integration

Rendered node is part of the entity module.

ghindle’s picture

There is a workaround for this bug that doesn't require you to patch the code, however a patch is needed. When I get chance I will give this a shot too.

1. Set the field to "Show Entity Label"
2. Untick the "Link To Entity" checkbox
3. Apply the field.
4. Open the field again and set it back to "Show Complete Entity".
5. Apply the field and save your View.

This worked for me, hopefully this will help others with the same problem.

pixelwhip’s picture

I can confirm this is happening and the workaround in #2 works.

Drave Robber’s picture

Status: Active » Closed (duplicate)

This seems to be fixed in #1546776: Field Rendered Entity: Link to entity option not visible.

(and I can report I was unable to reproduce the original issue anymore)