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

fix(workflowengine): use andWhere() not second where() #41417

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Nov 13, 2023

Summary

When saving a Flow configuration, a QueryException is logged, but without interrupting the code flow. It rightfully complains about not using andWhere() against the query builder, after a where() is already effective.

Checklist

@blizzz blizzz added bug 3. to review Waiting for reviews labels Nov 13, 2023
@blizzz blizzz added this to the Nextcloud 28 milestone Nov 13, 2023
@blizzz blizzz requested review from nickvergessen, a team, Altahrim, Fenn-CS and sorbaugh and removed request for a team November 13, 2023 12:14
@blizzz
Copy link
Member Author

blizzz commented Nov 13, 2023

/backport to stable27

@blizzz
Copy link
Member Author

blizzz commented Nov 13, 2023

/backport to stable26

- an unconditional where() condition is added right before
- fixes also wrongly named methods in the Exception message

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@kesselb kesselb force-pushed the fix/noid/use-andWhere-not-where branch from a6ad2cc to 93505b2 Compare November 13, 2023 13:47
@kesselb
Copy link
Contributor

kesselb commented Nov 13, 2023

Pressed rebase because drone timed out 🤞

@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 13, 2023
@nickvergessen
Copy link
Member

the tests of the app passed locally, so lets save the CI time

@nickvergessen nickvergessen merged commit eaaf954 into master Nov 13, 2023
24 of 26 checks passed
@nickvergessen nickvergessen deleted the fix/noid/use-andWhere-not-where branch November 13, 2023 13:56
@blizzz blizzz mentioned this pull request Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug feature: workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants