Skip to content

[stable32] fix(LockingController): return proper error message#1616

Closed
backportbot[bot] wants to merge 1 commit intostable32from
backport/1595/stable32
Closed

[stable32] fix(LockingController): return proper error message#1616
backportbot[bot] wants to merge 1 commit intostable32from
backport/1595/stable32

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot bot commented Apr 7, 2026

Backport of #1595

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

fix(LockingController): return proper error message

When a counter <= the previous counter is passed, do not fail with

internal server error but with a precondition failed error.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>

[skip ci]
@backportbot backportbot bot requested review from artonge and susnux April 7, 2026 09:53
@backportbot backportbot bot added 3. to review Waiting for reviews bug Something isn't working labels Apr 7, 2026
@susnux susnux closed this Apr 7, 2026
@susnux susnux deleted the backport/1595/stable32 branch April 7, 2026 09:56
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 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant