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

[stable25] fix: crash when leaving out system parameter #4833

Merged
merged 1 commit into from Jun 20, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

Backport of #4816

The `--system` parameter can be supplied via command line
or selected afterwards.

However if none was provided the command would crash with
`TypeError: Cannot assign null to property $system`.

Handle that gracefully and make the type spec more precise
for the setSystem function.

Signed-off-by: Max <max@nextcloud.com>
@juliushaertl juliushaertl merged commit 3c9e3b5 into stable25 Jun 20, 2023
14 of 24 checks passed
@delete-merged-branch delete-merged-branch bot deleted the backport/4816/stable25 branch June 20, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants