close
Skip to content

Fix duplicate execution during bulk input on delegated command - #133

Merged
mattwiller merged 1 commit into
masterfrom
bulk_collab_dedupe
Apr 10, 2019
Merged

Fix duplicate execution during bulk input on delegated command#133
mattwiller merged 1 commit into
masterfrom
bulk_collab_dedupe

Conversation

@mattwiller

Copy link
Copy Markdown
Contributor

Commands that delegate to other commands were passing the bulk
input flag through to the subcommand. Since the command being
delegated to is executed in a way that includes re-initialization,
this would re-run the entire bulk input again for each entry in
the bulk input file. To fix this, that flag is now filtered out
when running each command for the bulk input file, to ensure that
no such recursion is possible.

Commands that delegate to other commands were passing the bulk
input flag through to the subcommand.  Since the command being
delegated to is executed in a way that includes re-initialization,
this would re-run the entire bulk input again for each entry in
the bulk input file.  To fix this, that flag is now filtered out
when running each command for the bulk input file, to ensure that
no such recursion is possible.
@mattwiller
mattwiller requested a review from nidoran April 10, 2019 01:09
@mattwiller
mattwiller merged commit ba3d65a into master Apr 10, 2019
@mattwiller
mattwiller deleted the bulk_collab_dedupe branch April 10, 2019 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants