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

dev/core#2246 Fix failure to filter exports #19176

Merged
merged 1 commit into from
Dec 11, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Dec 11, 2020

Overview

Fixes a failure to apply limits to member exports per https://lab.civicrm.org/dev/core/-/issues/2246

Before

All memberships exported when selecting specific ones

After

Only the specific ones are exported

Technical Details

This fixes regression caused by us more consistently setting componentTable. Unfortunately it turned out componentTable is a bit of a magic parameter in this code that triggers the first part of an if clause - leading us to miss the else bit,

The short version here is that the presence of a componentClause should take precedences
over the inner join intended as a blunt, and maybe unnecessary, measure to
limit the export to the entity in question

Comments

This fixes regression caused by us more consistently setting componentTable.

The short version here is that the presence of a componentClause should take precedences
over the inner join intended as a blunt, and maybe unnecessary, measure to
limit the export to the entity in question
@civibot
Copy link

civibot bot commented Dec 11, 2020

(Standard links)

@seamuslee001
Copy link
Contributor

Jenkins retest this please

@eileenmcnaughton
Copy link
Contributor Author

test this please

@seamuslee001
Copy link
Contributor

Jenkins retest this please

@eileenmcnaughton
Copy link
Contributor Author

jenkins you are a grumpy bum

@seamuslee001
Copy link
Contributor

Jenkins retest this please

@seamuslee001
Copy link
Contributor

I replicated this locally and confirmed that this fixes the problem MOP

@seamuslee001 seamuslee001 merged commit ace2648 into civicrm:5.33 Dec 11, 2020
@seamuslee001 seamuslee001 deleted the 533m branch December 11, 2020 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants