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

unexpected behavior in exclude/include in workflow api funtionality #978

Open
porteratzo opened this issue May 23, 2024 · 0 comments
Open

Comments

@porteratzo
Copy link
Collaborator

Describe the bug
In collaborator workflow steps, if the first exclude/include argument is not in the collaborator FLSpec the whole filter attributes is bypassed.

To Reproduce
Steps to reproduce the behavior:

  1. Create workflow
  2. Create step for collaborators
    self.next(
    self.col_step,
    foreach="collaborators",
    exclude=["attribute_not_in_collaborator", "attribute_in_collaborator"],
    )
  3. The collaborator will still have "attribute_in_collaborator" because it doesn't have "attribute_not_in_collaborator"

Expected behavior
Either any attributes in the list that are in the collaborator FLSpec should be filtered or an error should be raised informing that " they are trying to delete attributes not in the collaborator FLSpec"

Screenshots
if exclude or include [0] not in clone no attributes are filtered
image

Desktop (please complete the following information):
Ubuntu 18.4

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

No branches or pull requests

1 participant