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

Enable QueueRunner for all imports #23712

Merged
merged 2 commits into from
Jun 9, 2022

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Jun 7, 2022

Overview

Enable QueueRunner for membership import

Before

Non contact imports still using the old ajax method

After

All imports use the queue runner

Technical Details

@totten I think it's good if Contact isn't the only import we are r-running when we test queues.

Note that the same summary screen works for all

Comments

Just noting that we might need to re-instate a version of the error

confirm

@civibot
Copy link

civibot bot commented Jun 7, 2022

(Standard links)

@civibot civibot bot added the master label Jun 7, 2022
/**
* Clean up the import table we used.
*/
public function postProcess() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this function used to do cleanup -now it doesn't. It was never about blocking higher up functions

@@ -45,8 +45,6 @@ public function buildQuickForm() {
unset($sel1['membership_id']);
}

$sel2[''] = NULL;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is copy & paste - it never did anything but does cause some weirdness if you go forwards from the Preview screen & then back again

@eileenmcnaughton eileenmcnaughton force-pushed the import_queue branch 3 times, most recently from 2ea6ae6 to 6488aaf Compare June 8, 2022 04:46
@eileenmcnaughton eileenmcnaughton changed the title Enable QueueRunner for membership import Enable QueueRunner for all imports Jun 8, 2022
@eileenmcnaughton
Copy link
Contributor Author

I just rebased this over #23719 - which should be merged before this or with it - they can be r-run tested together

@eileenmcnaughton eileenmcnaughton force-pushed the import_queue branch 2 times, most recently from ea36f37 to 24717e3 Compare June 8, 2022 23:33
@colemanw
Copy link
Member

colemanw commented Jun 9, 2022

Tests are happy. Let's get this into the RC.

@colemanw colemanw merged commit a56a8ca into civicrm:master Jun 9, 2022
@colemanw colemanw deleted the import_queue branch June 9, 2022 21:17
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.

2 participants