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

[stable30] fix(config): Throw PreconditionException always when it didn't match #47940

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Sep 13, 2024

Backport of PR #47933

Previously even when the precondition did not match, the call "passed"
when the after value was the expected one. This however can lead to
race conditions, duplicate code excutions and other things.

Signed-off-by: Joas Schilling <coding@schilljs.com>
@backportbot backportbot bot added bug 3. to review Waiting for reviews labels Sep 13, 2024
@backportbot backportbot bot added this to the Nextcloud 30.0.1 milestone Sep 13, 2024
@AndyScherzinger AndyScherzinger merged commit 90a6b82 into stable30 Sep 15, 2024
172 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/47933/stable30 branch September 15, 2024 19:29
@Altahrim Altahrim mentioned this pull request Oct 1, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants