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

Trying to delete a User who is member of a project results in an error #156

Closed
MaPhiKo opened this issue Nov 15, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@MaPhiKo
Copy link

MaPhiKo commented Nov 15, 2023

I tried to delete a testuser from my Mosparo installation.
Instead of deleting the user after confirming the choice, I was sent to an error page.

Since the user was deletable after removing them the project they were part of, I think the issue lies in the fact that they are referenced in the project_members table and not automatically removed from there before deleting them.

@zepich zepich self-assigned this Nov 15, 2023
@zepich zepich added the bug Something isn't working label Nov 15, 2023
@zepich
Copy link
Member

zepich commented Nov 15, 2023

Hi @MaPhiKo

Thank you very much for reporting the issue.

I can confirm that it is not working, and as you write, because of the existing row in the second table.

We will add a fix for this in the next version.

Thank you very much!

Kind regards,

zepich

@zepich
Copy link
Member

zepich commented Nov 19, 2023

Hi @MaPhiKo

We've just released v1.0.5 which fixes the issue.

Thank you very much for your help!

@zepich zepich closed this as completed Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants