Skip to content

"not in GROUP BY clause" errors #60

Description

@herbdool

In testing I got these errors:

Expression #8 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'lamp.source.id' which is not functionally dependent on columns in GROUP BY clause;

Expression #8 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'lamp.activity_type.label' which is not functionally dependent on columns in GROUP BY clause;

They go away when add them to the GROUP BY in CRM_Activityical_Feed::getData():

GROUP BY civicrm_activity.id, source.id, activity_type.label

ONLY_FULL_GROUP_BY is enabled by default now so the extension should probably fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions