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

occ workspace:create fails #1132

Open
LaurentBlain opened this issue Feb 5, 2025 · 1 comment · Fixed by #1150
Open

occ workspace:create fails #1132

LaurentBlain opened this issue Feb 5, 2025 · 1 comment · Fixed by #1150
Assignees
Labels
backend Modification related to backend debug Ongoing correction
Milestone

Comments

@LaurentBlain
Copy link

Command occ workspace:create crashes since version 4.
The workspace is created but the quota is not set (illimited), and workspace manager group is empty. User is not added in any group.

The error message is
TypeError: OCA\Workspace\Group\Admin\AdminGroup::addUser(): Argument #2 ($spaceId) must be of type int, string given, called in /var/www/html/nextcloud/apps/workspace/lib/Commands/Create.php on line 224 and defined in /var/www/html/nextcloud/apps/workspace/lib/Group/Admin/AdminGroup.php:48

@zak39 zak39 added this to the v4.0.1 milestone Feb 18, 2025
@zak39 zak39 self-assigned this Feb 18, 2025
@zak39 zak39 added backend Modification related to backend debug Ongoing correction labels Feb 18, 2025
@zak39
Copy link
Collaborator

zak39 commented Feb 18, 2025

Hi @LaurentBlain

Thanks for your issue! :)

It's already fixed in #1150 Pull Request.

I will be releasing workspace version 4.0., and you can update to the new version this week 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Modification related to backend debug Ongoing correction
Projects
None yet
2 participants