mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #3326] Error deleting emtpy (0 users, 0 items) organisation #1532
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1532
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smainz on GitHub (Mar 9, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/3326
Subject of the issue
I have an organisation with 0 users and 0 items which I want to delete from the admin page.

Once I enter the correct UUID

I get this error message :
In the logs it complains about a foreign key constraint violation:
Deployment environment
Steps to reproduce
I am not really sure how to reproduce this as I can not create an empty organization. This organisation has been created by a user before I restricted the creation of organisations to myself. The user which created the organisationhas been deleted before.
The problem does not occur with organisations having a member.
Expected behaviour
I expected the organisation to be deleted.
Actual behaviour
The organisation still exists.
Troubleshooting data
What data do you need to analyse this?
@BlackDex commented on GitHub (Mar 9, 2023):
This issue is already fixed in the latest
testingtagged images ormainbranch via #3252.@smainz commented on GitHub (Mar 9, 2023):
Thanks for the fas tresponse!
You are right, it is a dangling group: