-
Notifications
You must be signed in to change notification settings - Fork 271
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
Deactivated users reappeared #1080
Comments
Hi, thanks for the report.
It seems that the deactivated participant is not displayed in the bill edit form, even if we are editing a bill with the deactivated participant as the payer. @pH142857 Do you think it happens because of a bill edition? Or maybe a bill removal? |
Aaah, yes you're right. Chronologically,
So the solution would be either :
|
I think I would prefer to make this impossible to do without reactivating the users first. That would be easier to do and not clutter the UX? |
Would it be possible for me to work on this issue? |
[BugFIx #1104] Have fixed this issue by banning editing (and deleting, which would also trigger this problem) bills involving deactivated users. Corresponding test functions were committed together. This is my first time contributing to an open-source project. Learned a lot from your code. Thanks very much : ) |
#1106 Resolved the above issue proposed by @FlowingCloudRTL, ensuring that duplicated user names with deactivated users in the dataset are not allowed (Since they are deactivated but not deleted because they are bounded by a bill/bills). |
Tracked in #1104 |
Hello ! Shouldn't this be closed? :) |
I created a project on https://ihatemoney.org/ for my house. Two flatmates left, I balanced their accounts to 0€ and deactivated them. Several expenses later, they reappeared with a positive balance, even though they are still deactivated. How is that possible and how to prevent it?
Merci d'avance.
The text was updated successfully, but these errors were encountered: