Skip to content

[stable32] fix(LockWrapper): gracefully handle null user in copyFromStorage()#1098

Merged
benjaminfrueh merged 2 commits into
stable32from
backport/1097/stable32
May 26, 2026
Merged

[stable32] fix(LockWrapper): gracefully handle null user in copyFromStorage()#1098
benjaminfrueh merged 2 commits into
stable32from
backport/1097/stable32

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 26, 2026

Backport of #1097

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.

`$this->userSession->getUser()` can be null, e.g. when called from `occ`
command.

Signed-off-by: Jonas <jonas@freesources.org>
@backportbot backportbot Bot requested review from benjaminfrueh and mejo- May 26, 2026 20:01
@backportbot backportbot Bot added bug Something isn't working regression 3. to review labels May 26, 2026
Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- force-pushed the backport/1097/stable32 branch from 61269e7 to 4d038ce Compare May 26, 2026 20:02
@mejo- mejo- marked this pull request as ready for review May 26, 2026 20:02
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team May 26, 2026
@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Productivity team May 26, 2026
@benjaminfrueh benjaminfrueh merged commit 80ea72b into stable32 May 26, 2026
31 of 49 checks passed
@benjaminfrueh benjaminfrueh deleted the backport/1097/stable32 branch May 26, 2026 20:17
@github-project-automation github-project-automation Bot moved this from 👀 In review to ☑️ Done in 📝 Productivity team May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working regression

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants