I'm not sure if there is any reason why this is the way it is, but the get_value function only checks for data in the $values->node class.

This changes the function to retrieve all data from the $values->fields array instead. This change allows views to display non-node entities. I am not sure if there are any side effects to this change. I tested it with node entities (as well as product entities) and it seemed to work fine.

Comments

ygerasimov’s picture

Status: Needs review » Fixed

I think patch is irrelevant to the issue. Anyhow now field handler does not assume that object is node so I mark this issue as fixed.

Status: Fixed » Closed (fixed)

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