Hi,

In function
_views_send_get_from_views_result there is a comment saying:

We don't know the table alias, just that it starts with 'node_data_' and ends with the field key.

It is not always true that if starts with 'node_data_'.

Can this be fixed somehow?

Thanks,

Vitalie

Comments

hansfn’s picture

Status: Active » Postponed (maintainer needs more info)

What exactly is the issue here? (Yes, it starts with 'node_data_'.)

vitalie’s picture

It does not work because a certain field that definitely has value comes out in the message without any value.

I use Content Profile and I have a view in which First Name field is under node_users_node_data_field_firstname_field_firstname_value name in the view, which does not start with node_data.

hansfn’s picture

Thx, with that information I have a proper bug report. Will look at it this weekend.

hansfn’s picture

Assigned: Unassigned » hansfn
Status: Postponed (maintainer needs more info) » Active

Forgot to update status and assign it to myself.

hansfn’s picture

Do you mind adding an export of your view to the issue? It saves me some time because my initial testing couldn't reproduce "node_users_node_data_....". Thx

Forget it, I have reproduced the problem. I'll see if I can find a nice general fix. If not, I already have an ugly fix.

hansfn’s picture

Status: Active » Fixed

Fixed in commit ba0bd07.

I went for the ugly, quick fix since making a nice general fix would require a lot of work/testing. Thx again for the report.

Status: Fixed » Closed (fixed)

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

vitalie’s picture

Thank you very much.