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

aveach.bfr created an issue. See original summary.

thomas_rz’s picture

Assigned: Unassigned » jyve
jyve’s picture

Status: Active » Fixed

Thanks for the report! The bug is now fixed on the dev branch.

Status: Fixed » Closed (fixed)

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