Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
hansfn CreditAttribution: hansfn commentedWhat exactly is the issue here? (Yes, it starts with 'node_data_'.)
Comment #2
vitalie CreditAttribution: vitalie commentedIt 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.Comment #3
hansfn CreditAttribution: hansfn commentedThx, with that information I have a proper bug report. Will look at it this weekend.
Comment #4
hansfn CreditAttribution: hansfn commentedForgot to update status and assign it to myself.
Comment #5
hansfn CreditAttribution: hansfn commentedDo 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.
Comment #6
hansfn CreditAttribution: hansfn commentedFixed 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.
Comment #8
vitalie CreditAttribution: vitalie commentedThank you very much.