On cron runs we see this error:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ec.easychart_csv_url' in 'field list': SELECT ec.easychart_csv_url AS easychart_csv_url, ec.easychart_csv AS easychart_csv, ec.delta AS delta, ec.entity_id AS entity_id, ec.revision_id AS revision_id FROM {field_data_field_chart} ec WHERE (ec.easychart_csv_url != :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => ) in _easychart_update_csv_from_url() (line 24 of .../sites/all/modules/easychart/easychart.helpers.inc).
I took a look at what was happening, and I can see that the field "easychart_csv_url" was created in the "field_data_easychart" table, but in the table this field is referencing ("field_data_field_chart") the column is named "field_chart_csv_url". The method in easychart.helpers.inc doesn't adjust the column name based on the field for custom chart fields.
Comments
Comment #2
thomas_rz CreditAttribution: thomas_rz as a volunteer and at Government of Flanders commentedComment #3
jyve CreditAttribution: jyve commentedThanks for the report! The bug is now fixed on the dev branch.