You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After renaming a custom field used by the contacts and trying to view the segments a server error occurs in ajax. The ajax response contains error message 'unknown column ', which references the original handle of the field.
{"error":"An exception has been thrown during the rendering of a template (\"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_theOldFieldName_xbaogzok' in...
We have temporarily got around this by removing the segments from the campaign_segments table, and manually re-entering them.
To reproduce
Steps to reproduce the behaviour:
Create segment which uses custom field
Rename custom field
Return to segment listing, error occurs and no items listed
Expected behaviour
Created segments listed
Screenshots
If applicable, add screenshots to help explain your problem.
Versions
Plugin version: 1.20.2
Craft version: 3.7.8
The text was updated successfully, but these errors were encountered:
Yeah I can why this might be happening, we should really store a reference to the field rather than the field column name, or alternatively update it each time a field is updated. I'll address this for the next release, thanks for reporting!
Describe the bug
After renaming a custom field used by the contacts and trying to view the segments a server error occurs in ajax. The ajax response contains error message 'unknown column ', which references the original handle of the field.
{"error":"An exception has been thrown during the rendering of a template (\"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_theOldFieldName_xbaogzok' in...
We have temporarily got around this by removing the segments from the campaign_segments table, and manually re-entering them.
To reproduce
Steps to reproduce the behaviour:
Expected behaviour
Created segments listed
Screenshots
If applicable, add screenshots to help explain your problem.
Versions
The text was updated successfully, but these errors were encountered: