If I create a link field 'field' in table1 to table2, I encounter an error.
When the link was created fields in fields_def was created in both
directions, i.e. in table1 as 'field' and in table2 as 'table1-field'. The error
is related to the latter, since the 'table1-field' is not inserted to the
corresponding _table_xx of table2.
The following error message is obtained:
sql_query: Unknown column '_table_3._field_161' in 'field list'
query: 'select _table_3._field_40, _table_3._field_161, _table_3._field_37, _table_3._field_38,
_table_3._field_39, _table_3._field_44, _table_3._field_59, _table_3._field_46, _table_3._field_47,
_table_3._field_48, _table_3._table_3_id from _table_3 where _table_3._table_3_id in (0) order by
_table_3._field_40'
Warning: Supplied argument is not a valid MySQ