Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRM-21089 - CiviSurvey - Fix fatal error on 'Interview Respondents' #10885

Merged
merged 1 commit into from
Aug 22, 2017

Conversation

MegaphoneJon
Copy link
Contributor

Overview

Attempting to use "Interview Respondents" in CiviSurvey results in a fatal error. See CRM-21089 for details on how to replicate.

Before

See above.

After

Fatal error no longer exists.

Technical Details

This is a SQL error that results from civicrm_campaign not being added to the FROM clause of the SQL statement. This patch calls the function that adds the correct FROM statement when building a query from within CiviSurvey.

@eileenmcnaughton
Copy link
Contributor

I was able to replicate the bug & confirm the patch fixes it. In addition the patch makes sense and only adds to the from clause, rather than altering it or removing from it.

merging.

Thanks for the clear information to reproduce in Jira @MegaphoneJon

@eileenmcnaughton eileenmcnaughton merged commit bcb0eba into civicrm:master Aug 22, 2017
@MegaphoneJon MegaphoneJon deleted the CRM-21089 branch October 10, 2017 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants